changeset 6469:3c499051a5df

8006873: SWAT-b74 msvcr100.dll does not have the permission for all Reviewed-by: alanb, tbell
author erikj
date Tue, 29 Jan 2013 16:35:24 +0100
parents 57d5d9544628
children 4a67fdb752b7
files makefiles/CopyFiles.gmk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makefiles/CopyFiles.gmk	Tue Jan 22 09:01:35 2013 +0100
+++ b/makefiles/CopyFiles.gmk	Tue Jan 29 16:35:24 2013 +0100
@@ -267,10 +267,12 @@
 
 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