summaryrefslogtreecommitdiff
path: root/lcms2
diff options
context:
space:
mode:
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 \