summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-06-05 14:46:30 +0200
committerDavid Tardon <dtardon@redhat.com>2015-06-05 14:50:03 +0200
commitd611d33cac8ae35f41d5f300ca096f2f74e374c6 (patch)
tree05e332e6608fe1b79f7a2403d357170c3c35687f /external
parent970458c5ee4e6077836839397e556132544a3b6e (diff)
use $(DISABLE_DYNLOADING)
Change-Id: I0636f45bf5653ff3feabfdc2742eb767f1b84507
Diffstat (limited to 'external')
-rw-r--r--external/lcms2/ExternalProject_lcms2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/external/lcms2/ExternalProject_lcms2.mk b/external/lcms2/ExternalProject_lcms2.mk
index dd9822272930..441222a6c96c 100644
--- a/external/lcms2/ExternalProject_lcms2.mk
+++ b/external/lcms2/ExternalProject_lcms2.mk
@@ -30,7 +30,11 @@ $(call gb_ExternalProject_get_state_target,lcms2,build):
CPPFLAGS=" $(SOLARINC)" \
CFLAGS='$(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS))' \
$(if $(filter-out WNTGCC,$(OS)$(COM)),,CPPFLAGS=" -DCMS_DLL_BUILD") \
- $(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 $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& cd src \
&& $(MAKE) \