diff options
author | David Tardon <dtardon@redhat.com> | 2015-06-05 14:49:17 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-06-05 14:50:04 +0200 |
commit | 9eb1bfcbb164a8d029d7ba92947e0c9caf8e0826 (patch) | |
tree | fe035dc3c4e336afe8572103226fc4ff25f6d328 /external | |
parent | bf8086238bc9cc2ac0fa231d0b2dd0c519b1b6d9 (diff) |
use $(DISABLE_DYNLOADING)
Change-Id: Ie5738e1ec1c77fc2b356e43bcf763a40e383f52f
Diffstat (limited to 'external')
-rw-r--r-- | external/redland/ExternalPackage_raptor.mk | 2 | ||||
-rw-r--r-- | external/redland/ExternalPackage_rasqal.mk | 2 | ||||
-rw-r--r-- | external/redland/ExternalPackage_redland.mk | 2 | ||||
-rw-r--r-- | external/redland/ExternalProject_raptor.mk | 6 | ||||
-rw-r--r-- | external/redland/ExternalProject_rasqal.mk | 6 | ||||
-rw-r--r-- | external/redland/ExternalProject_redland.mk | 6 |
6 files changed, 18 insertions, 6 deletions
diff --git a/external/redland/ExternalPackage_raptor.mk b/external/redland/ExternalPackage_raptor.mk index c355105b51dc..4a81a165c0de 100644 --- a/external/redland/ExternalPackage_raptor.mk +++ b/external/redland/ExternalPackage_raptor.mk @@ -17,7 +17,7 @@ else ifeq ($(OS)-$(COM),WNT-GCC) $(eval $(call gb_ExternalPackage_add_file,raptor,$(LIBO_LIB_FOLDER)/libraptor2-$(RAPTOR_MAJOR).dll,src/.libs/libraptor2-$(RAPTOR_MAJOR).dll)) else ifeq ($(COM),MSC) $(eval $(call gb_ExternalPackage_add_file,raptor,$(LIBO_LIB_FOLDER)/libraptor2.dll,src/.libs/libraptor2.dll)) -else ifeq ($(filter IOS ANDROID,$(OS)),) +else ifeq ($(DISABLE_DYNLOADING),) $(eval $(call gb_ExternalPackage_add_file,raptor,$(LIBO_LIB_FOLDER)/libraptor2-lo.so.$(RAPTOR_MAJOR),src/.libs/libraptor2-lo.so.$(RAPTOR_MAJOR).0.0)) endif diff --git a/external/redland/ExternalPackage_rasqal.mk b/external/redland/ExternalPackage_rasqal.mk index 85b47a17045d..ebe519a113c5 100644 --- a/external/redland/ExternalPackage_rasqal.mk +++ b/external/redland/ExternalPackage_rasqal.mk @@ -17,7 +17,7 @@ else ifeq ($(OS)-$(COM),WNT-GCC) $(eval $(call gb_ExternalPackage_add_file,rasqal,$(LIBO_LIB_FOLDER)/librasqal-$(RASQAL_MAJOR).dll,src/.libs/librasqal-$(RASQAL_MAJOR).dll)) else ifeq ($(COM),MSC) $(eval $(call gb_ExternalPackage_add_file,rasqal,$(LIBO_LIB_FOLDER)/librasqal.dll,src/.libs/librasqal.dll)) -else ifeq ($(filter IOS ANDROID,$(OS)),) +else ifeq ($(DISABLE_DYNLOADING),) $(eval $(call gb_ExternalPackage_add_file,rasqal,$(LIBO_LIB_FOLDER)/librasqal-lo.so.$(RASQAL_MAJOR),src/.libs/librasqal-lo.so.$(RASQAL_MAJOR).0.0)) endif diff --git a/external/redland/ExternalPackage_redland.mk b/external/redland/ExternalPackage_redland.mk index eb20b75e929e..d37ae8622f79 100644 --- a/external/redland/ExternalPackage_redland.mk +++ b/external/redland/ExternalPackage_redland.mk @@ -17,7 +17,7 @@ else ifeq ($(OS)-$(COM),WNT-GCC) $(eval $(call gb_ExternalPackage_add_file,redland,$(LIBO_LIB_FOLDER)/librdf-$(REDLAND_MAJOR).dll,src/.libs/librdf-$(REDLAND_MAJOR).dll)) else ifeq ($(COM),MSC) $(eval $(call gb_ExternalPackage_add_file,redland,$(LIBO_LIB_FOLDER)/librdf.dll,src/.libs/librdf.dll)) -else ifeq ($(filter IOS ANDROID,$(OS)),) +else ifeq ($(DISABLE_DYNLOADING),) $(eval $(call gb_ExternalPackage_add_file,redland,$(LIBO_LIB_FOLDER)/librdf-lo.so.$(REDLAND_MAJOR),src/.libs/librdf-lo.so.$(REDLAND_MAJOR).0.0)) endif diff --git a/external/redland/ExternalProject_raptor.mk b/external/redland/ExternalProject_raptor.mk index eaffcf1ab56e..f083609bfe26 100644 --- a/external/redland/ExternalProject_raptor.mk +++ b/external/redland/ExternalProject_raptor.mk @@ -47,7 +47,11 @@ $(call gb_ExternalProject_get_state_target,raptor,build): --without-xslt-config \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ - $(if $(filter IOS ANDROID,$(OS)),--disable-shared,--disable-static) \ + $(if $(DISABLE_DYNLOADING), \ + --enable-static --disable-shared \ + , \ + --enable-shared --disable-static \ + ) \ $(if $(SYSTEM_LIBXML),,--with-xml2-config=$(call gb_UnpackedTarball_get_dir,xml2)/xml2-config) \ && $(MAKE) \ ) diff --git a/external/redland/ExternalProject_rasqal.mk b/external/redland/ExternalProject_rasqal.mk index 4d3f65c9b541..2e05abe67fa8 100644 --- a/external/redland/ExternalProject_rasqal.mk +++ b/external/redland/ExternalProject_rasqal.mk @@ -56,7 +56,11 @@ $(call gb_ExternalProject_get_state_target,rasqal,build): --with-digest-library=internal \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ - $(if $(filter IOS ANDROID,$(OS)),--disable-shared,--disable-static) \ + $(if $(DISABLE_DYNLOADING), \ + --enable-static --disable-shared \ + , \ + --enable-shared --disable-static \ + ) \ $(if $(SYSTEM_LIBXML),,--with-xml2-config=$(call gb_UnpackedTarball_get_dir,xml2)/xml2-config) \ && $(MAKE) \ $(if $(filter MACOSX,$(OS)),&& $(PERL) \ diff --git a/external/redland/ExternalProject_redland.mk b/external/redland/ExternalProject_redland.mk index 9852e3f035d3..9c8f3abe6897 100644 --- a/external/redland/ExternalProject_redland.mk +++ b/external/redland/ExternalProject_redland.mk @@ -60,7 +60,11 @@ $(call gb_ExternalProject_get_state_target,redland,build): --without-postgresql --without-threestone --without-virtuoso \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ - $(if $(filter IOS ANDROID,$(OS)),--disable-shared,--disable-static) \ + $(if $(DISABLE_DYNLOADING), \ + --enable-static --disable-shared \ + , \ + --enable-shared --disable-static \ + ) \ && $(MAKE) \ $(if $(filter MACOSX,$(OS)),&& $(PERL) \ $(SRCDIR)/solenv/bin/macosx-change-install-names.pl shl OOO \ |