8229788: Error dialog displays with DLL issue when installing WinChooserTest application
Submitted-by: almatvee
Reviewed-by: herrick, asemenyuk
--- 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, \