make/copy/Copy-java.base.gmk
changeset 50073 35b22ca681d1
parent 49537 149dc554808c
child 50075 bbcbfa18b0e8
--- a/make/copy/Copy-java.base.gmk	Wed May 09 17:14:29 2018 +0200
+++ b/make/copy/Copy-java.base.gmk	Wed May 09 19:50:30 2018 +0200
@@ -65,6 +65,17 @@
       MACRO := copy-and-chmod))
 
   TARGETS += $(COPY_MSVCR) $(COPY_MSVCP)
+
+  ifneq ($(UCRT_DLL_DIR), )
+    $(eval $(call SetupCopyFiles, COPY_UCRT_DLLS, \
+        DEST := $(LIB_DST_DIR), \
+        SRC := $(UCRT_DLL_DIR), \
+        FILES := $(wildcard $(UCRT_DLL_DIR)/*.dll), \
+        MACRO := copy-and-chmod, \
+    ))
+
+    TARGETS += $(COPY_UCRT_DLLS)
+  endif
 endif
 
 ################################################################################