8178064: OpenJDK RI binary should include the license file for freetype
Reviewed-by: tbell, ihse
--- a/jdk/make/copy/Copy-java.desktop.gmk Thu Jun 08 13:49:11 2017 +0200
+++ b/jdk/make/copy/Copy-java.desktop.gmk Thu Jun 08 14:53:56 2017 +0200
@@ -77,6 +77,13 @@
endif
TARGETS += $(FREETYPE_TARGET_LIB)
+
+ $(eval $(call SetupCopyFiles, COPY_FREETYPE_LICENSE, \
+ FILES := $(FREETYPE_LICENSE), \
+ DEST := $(LEGAL_DST_DIR), \
+ ))
+
+ TARGETS += $(COPY_FREETYPE_LICENSE)
endif
################################################################################