[shotwell] build: Don't build plugins twice



commit 52c0f36105d895ab02415056d96fa467a906fb34
Author: Jens Georg <mail jensge org>
Date:   Tue Apr 19 20:45:23 2016 +0200

    build: Don't build plugins twice
    
    The .c files were compiled with vala once, then again with C compiler.
    
    Signed-off-by: Jens Georg <mail jensge org>

 plugins/Makefile.plugin.mk |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/Makefile.plugin.mk b/plugins/Makefile.plugin.mk
index 539de86..723e708 100644
--- a/plugins/Makefile.plugin.mk
+++ b/plugins/Makefile.plugin.mk
@@ -41,10 +41,8 @@ DEFINES := -D_VERSION='"$(PLUGINS_VERSION)"' -DGETTEXT_PACKAGE='"shotwell"'
 all: $(PLUGIN).so
 
 .stamp: $(SRC_FILES) $(MAKE_FILES) $(HEADER_FILES)
-       $(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --fatal-warnings --save-temps 
--compile --enable-deprecated \
+       $(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --fatal-warnings --ccode 
--enable-deprecated \
                --vapidir=../ $(foreach pkg,$(PKGS),--pkg=$(pkg)) $(foreach 
pkg,$(CUSTOM_VAPI_PKGS),--pkg=$(pkg)) \
-               -X -I../.. -X -fPIC \
-               $(foreach dfn,$(DEFINES),-X $(dfn)) \
                $(USER_VALAFLAGS) \
                --vapidir=../../vapi \
                $(SRC_FILES)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]