8229334: JPackager .exe packages cannot be executed due to missing DL JDK-8200758-branch
authorherrick
Sat, 10 Aug 2019 07:33:52 -0400
branchJDK-8200758-branch
changeset 57707 b089abe93ab7
parent 57689 fb1a9b7f96ac
child 57708 1825d29340ee
8229334: JPackager .exe packages cannot be executed due to missing DL Submitted-by: asemenyuk Reviewed-by: herrick, almatvee
make/lib/Lib-jdk.jpackage.gmk
--- a/make/lib/Lib-jdk.jpackage.gmk	Thu Aug 08 17:27:17 2019 -0400
+++ b/make/lib/Lib-jdk.jpackage.gmk	Sat Aug 10 07:33:52 2019 -0400
@@ -88,7 +88,7 @@
       SRC := $(TOPDIR)/src/jdk.jpackage/$(OPENJDK_TARGET_OS)/native/msiwrapper, \
       EXTRA_FILES := $(addprefix $(TOPDIR)/src/jdk.jpackage/$(OPENJDK_TARGET_OS)/native/libjpackage/, \
           FileUtils.cpp Log.cpp WinSysInfo.cpp tstrings.cpp WinErrorHandling.cpp ErrorHandling.cpp), \
-      CFLAGS := $(CXXFLAGS_JDKEXE) \
+      CFLAGS := $(CXXFLAGS_JDKEXE) -MT \
           $(addprefix -I$(TOPDIR)/src/jdk.jpackage/$(OPENJDK_TARGET_OS)/native/, msiwrapper libjpackage), \
       CFLAGS_windows := -EHsc -DUNICODE -D_UNICODE, \
       LDFLAGS := $(LDFLAGS_JDKEXE), \