summaryrefslogtreecommitdiff
path: root/external/liborcus
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-06-05 14:35:21 +0200
committerDavid Tardon <dtardon@redhat.com>2015-06-05 14:35:37 +0200
commitb46276e6c02b22441f87b2bf689e2aa61f806688 (patch)
tree81bf45cb69ed8f255c58a71721f676f4c1cea613 /external/liborcus
parent8f99f936326342566067c849fbf27867825b81cf (diff)
better way to do this
Change-Id: I4a18927f2c9b6414134e5ea016121693ac47ecf9
Diffstat (limited to 'external/liborcus')
-rw-r--r--external/liborcus/ExternalProject_liborcus.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/external/liborcus/ExternalProject_liborcus.mk b/external/liborcus/ExternalProject_liborcus.mk
index 12f22f77f8f1..c9adc4797ce8 100644
--- a/external/liborcus/ExternalProject_liborcus.mk
+++ b/external/liborcus/ExternalProject_liborcus.mk
@@ -87,7 +87,11 @@ $(call gb_ExternalProject_get_state_target,liborcus,build) :
MDDS_LIBS=' ' \
MAKE=$(MAKE) ./configure \
--with-pic \
- $(if $(filter IOS ANDROID,$(OS)), --disable-shared --enable-static, --enable-shared --disable-static) \
+ $(if $(DISABLE_DYNLOADING), \
+ --enable-static --disable-shared \
+ , \
+ --enable-shared --disable-static \
+ ) \
$(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
--disable-spreadsheet-model \
--without-tools \