From 6cd9ce42a5a14fb412400121532a1d79e23fe710 Mon Sep 17 00:00:00 2001 From: erikj Date: Tue, 29 Jan 2013 16:35:24 +0100 Subject: [PATCH] 8006873: SWAT-b74 msvcr100.dll does not have the permission for all Reviewed-by: alanb, tbell --- makefiles/CopyFiles.gmk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefiles/CopyFiles.gmk b/makefiles/CopyFiles.gmk index 8f99a113d..7de946c88 100644 --- a/makefiles/CopyFiles.gmk +++ b/makefiles/CopyFiles.gmk @@ -267,10 +267,12 @@ endif ifeq ($(OPENJDK_TARGET_OS),windows) MSVCR_TARGET := $(JDK_OUTPUTDIR)/bin/$(notdir $(MSVCR_DLL)) + # Chmod to avoid permission issues if bundles are unpacked on unix platforms. $(MSVCR_TARGET): $(MSVCR_DLL) $(MKDIR) -p $(@D) $(RM) $@ $(CP) $< $@ + $(CHMOD) a+rx $@ COPY_FILES += $(MSVCR_TARGET) endif -- GitLab