make/copy/Copy-java.desktop.gmk

Print this page
rev 10871 : 8062312: OpenJDK build fails when bundling freetype libraries

@@ -66,11 +66,12 @@
   else
     FREETYPE_TARGET_LIB := $(JDK_OUTPUTDIR)/lib$(OPENJDK_TARGET_CPU_LIBDIR)/$(call SHARED_LIBRARY,freetype).6
   endif
 
   $(FREETYPE_TARGET_LIB): $(FREETYPE_BUNDLE_LIB_PATH)/$(call SHARED_LIBRARY,freetype)
-        $(install-file)
+        $(MKDIR) -p $(@D)
+        $(CP) $< $@
         ifeq ($(OPENJDK_BUILD_OS), windows)
           $(CHMOD) +rx $@
         endif
 endif