changeset 13929:e3d899eb8099

8202557: OpenJDK fails to start in Windows 7 and 8.1 after upgrading compiler to VC 2017 Reviewed-by: tbell, erikj
author kevinw
date Mon, 29 Oct 2018 14:40:52 -0700
parents fa2ff684ed23
children 478a4add975b
files make/CopyFiles.gmk
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/CopyFiles.gmk	Mon Oct 29 05:49:00 2018 -0700
+++ b/make/CopyFiles.gmk	Mon Oct 29 14:40:52 2018 -0700
@@ -269,6 +269,15 @@
       MACRO := copy-and-chmod))
 
   COPY_FILES += $(COPY_MSVCR) $(COPY_MSVCP)
+
+  ifneq ($(UCRT_DLL_DIR), )
+    $(eval $(call SetupCopyFiles,COPY_UCRT_DLLS, \
+        DEST := $(JDK_OUTPUTDIR)/bin, \
+        FILES := $(wildcard $(UCRT_DLL_DIR)/*.dll), \
+        MACRO := copy-and-chmod \
+    ))
+    COPY_FILES += $(COPY_UCRT_DLLS)
+  endif
 endif
 
 ##########################################################################################