8229788: Error dialog displays with DLL issue when installing WinChooserTest application JDK-8200758-branch
authorherrick
Mon, 19 Aug 2019 21:17:25 -0400
branchJDK-8200758-branch
changeset 57810 e356758160cd
parent 57809 8c118637a684
child 57908 9a005146bc1c
8229788: Error dialog displays with DLL issue when installing WinChooserTest application Submitted-by: almatvee Reviewed-by: herrick, asemenyuk
make/lib/Lib-jdk.jpackage.gmk
--- a/make/lib/Lib-jdk.jpackage.gmk	Mon Aug 19 21:14:34 2019 -0400
+++ b/make/lib/Lib-jdk.jpackage.gmk	Mon Aug 19 21:17:25 2019 -0400
@@ -73,7 +73,7 @@
       SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
       OPTIMIZATION := LOW, \
       CFLAGS := $(CXXFLAGS_JDKLIB), \
-      CFLAGS_windows := -EHsc -DUNICODE -D_UNICODE, \
+      CFLAGS_windows := -EHsc -DUNICODE -D_UNICODE -MT, \
       LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
       LIBS := $(LIBCXX), \
       LIBS_windows := msi.lib Shlwapi.lib User32.lib, \