diff options
-rw-r--r-- | lcms2/ExternalProject_lcms2.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcms2/ExternalProject_lcms2.mk b/lcms2/ExternalProject_lcms2.mk index 4a7a8eb78fab..5b1eeea45800 100644 --- a/lcms2/ExternalProject_lcms2.mk +++ b/lcms2/ExternalProject_lcms2.mk @@ -34,7 +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") \ + $(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) \ && cd src \ |