summaryrefslogtreecommitdiff
path: root/lcms2/ExternalProject_lcms2.mk
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-09 09:27:19 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-09 09:27:28 +0100
commit0aa1baa80b439740f176249d4f05007f715cf2b0 (patch)
tree807de9d6eaac5dabbebcb98f5abb7b472b22b8d3 /lcms2/ExternalProject_lcms2.mk
parent0f25bad134dbd103c614b1299e800e3be22d5e0d (diff)
Trying to fix lcms2 again
Change-Id: I376b03d12f8ae59fcf75046c42bcd6ba5d29af2c
Diffstat (limited to 'lcms2/ExternalProject_lcms2.mk')
-rw-r--r--lcms2/ExternalProject_lcms2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcms2/ExternalProject_lcms2.mk b/lcms2/ExternalProject_lcms2.mk
index 2703c382315b..c2fd8788e1d8 100644
--- a/lcms2/ExternalProject_lcms2.mk
+++ b/lcms2/ExternalProject_lcms2.mk
@@ -34,9 +34,9 @@ $(call gb_ExternalProject_get_state_target,lcms2,build):
cd $(EXTERNAL_WORKDIR) \
&& ./configure --without-jpeg --without-tiff --with-pic \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
- $(if $(filter-out WNTGCC,$(OS)$(COM)),,LDFLAGS="-Wl,--export-all-symbols -Wl,--enable-stdcall-fixup -Wl,--enable-runtime-pseudo-reloc-v2") \
CPPFLAGS=" $(SOLARINC)" \
- $(if $(filter IOS ANDROID,$(OS)),--disable-shared, --enable-shared --disable-static) \
+ $(if $(filter-out WNTGCC,$(OS)$(COM)),,CPPFLAGS=" -DCMS_DLL_BUILD") \
+ $(if $(filter IOS ANDROID,$(OS)), --disable-shared --enable-static, --enable-shared --disable-static) \
&& cd src \
&& $(MAKE) \
&& touch $@