summaryrefslogtreecommitdiff
path: root/icu/ExternalProject_icu.mk
diff options
context:
space:
mode:
Diffstat (limited to 'icu/ExternalProject_icu.mk')
-rw-r--r--icu/ExternalProject_icu.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/icu/ExternalProject_icu.mk b/icu/ExternalProject_icu.mk
index ecf97ec5c964..2df3011b15aa 100644
--- a/icu/ExternalProject_icu.mk
+++ b/icu/ExternalProject_icu.mk
@@ -19,11 +19,15 @@ icu_CPPFLAGS:="-DHAVE_GCC_ATOMICS=$(if $(filter TRUE,$(GCC_HAVE_BUILTIN_ATOMIC))
ifeq ($(OS),WNT)
+# Note: runConfigureICU ignores everything following the platform name!
ifeq ($(COM),MSC)
$(call gb_ExternalProject_get_state_target,icu,build) :
$(call gb_ExternalProject_run,build,\
export LIB="$(ILIB)" \
- && CFLAGS="$(SOLARINC)" CPPFLAGS="$(SOLARINC)" CXXFLAGS="$(SOLARINC)" ./runConfigureICU Cygwin/MSVC \
+ && CFLAGS="$(SOLARINC)" CPPFLAGS="$(SOLARINC)" CXXFLAGS="$(SOLARINC)" \
+ ./runConfigureICU \
+ $(if $(MSVC_USE_DEBUG_RUNTIME),--enable-debug --disable-release) \
+ Cygwin/MSVC \
&& $(MAKE) \
,source)
else