summaryrefslogtreecommitdiff
path: root/lcms2
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-11-08 20:45:47 -0500
committerPeter Foley <pefoley2@verizon.net>2012-11-08 20:45:47 -0500
commit7816667a62cc4144320c1554f8dbb8b4011e37b7 (patch)
tree987801bffaefe829745579bf61e00369f1216907 /lcms2
parentd035b3fb1f4bc904488b015b332d252b2a544fbf (diff)
blind fix for mingw
Change-Id: I10433beb4c2cea508760083812bc63f4eab02ed0
Diffstat (limited to 'lcms2')
-rw-r--r--lcms2/ExternalProject_lcms2.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lcms2/ExternalProject_lcms2.mk b/lcms2/ExternalProject_lcms2.mk
index a7cc3f1d915c..4a7a8eb78fab 100644
--- a/lcms2/ExternalProject_lcms2.mk
+++ b/lcms2/ExternalProject_lcms2.mk
@@ -34,6 +34,7 @@ $(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 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) \
&& cd src \