summaryrefslogtreecommitdiff
path: root/external
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:37:41 +0200
commite0e989ef5b24fbe8222aa676aa6491eebce68974 (patch)
treec3b417875bf3932210e37207017815043568a448 /external
parent81ae40bfe35fd55db789d75d1698f186f13402dd (diff)
better way to do this
Change-Id: I4a18927f2c9b6414134e5ea016121693ac47ecf9 (cherry picked from commit b46276e6c02b22441f87b2bf689e2aa61f806688) Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external')
-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 2193fa987c9f..8db2fbcaee70 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 \