8006873: SWAT-b74 msvcr100.dll does not have the permission for all

Reviewed-by: alanb, tbell
This commit is contained in:
Erik Joelsson 2013-01-29 16:35:24 +01:00
parent 75c48b0d1b
commit a1d7653c19

@ -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