8058756: OpenJDK builds fail on Windows - cannot copy freetype.dll
authorprr
Fri, 19 Sep 2014 11:13:27 -0700
changeset 26752 66228a695a62
parent 26751 70bac69b37c9
child 26753 00b27213d86c
8058756: OpenJDK builds fail on Windows - cannot copy freetype.dll Reviewed-by: erikj, aph
jdk/make/copy/Copy-java.desktop.gmk
--- a/jdk/make/copy/Copy-java.desktop.gmk	Fri Sep 19 09:41:05 2014 -0700
+++ b/jdk/make/copy/Copy-java.desktop.gmk	Fri Sep 19 11:13:27 2014 -0700
@@ -68,7 +68,7 @@
   endif
 
   $(FREETYPE_TARGET_LIB): $(FREETYPE_BUNDLE_LIB_PATH)/$(call SHARED_LIBRARY,freetype)
-	$(CP) $(FREETYPE_BUNDLE_LIB_PATH)/$(call SHARED_LIBRARY,freetype) $@
+	$(install-file)
         ifeq ($(OPENJDK_BUILD_OS), windows)
 	  $(CHMOD) +rx $@
         endif