RFR: 8058756: OpenJDK builds fail on Windows - cannot copy freetype.dll
Erik Joelsson
erik.joelsson at oracle.com
Fri Sep 19 07:30:50 UTC 2014
I've noticed this problem too but never got around to fix it. The fix is
OK, but I would prefer just replacing the CP line with $(install-file),
which will also avoid the duplicated source file definition.
/Erik
On 2014-09-18 22:00, Phil Race wrote:
> https://bugs.openjdk.java.net/browse/JDK-8058756
>
> Here's my proposed one-liner fix :-
>
> diff -r 07156012ab78 make/copy/Copy-java.desktop.gmk
> --- a/make/copy/Copy-java.desktop.gmk Thu Sep 18 17:34:44 2014 +0400
> +++ b/make/copy/Copy-java.desktop.gmk Thu Sep 18 12:51:40 2014 -0700
> @@ -68,6 +68,7 @@
> endif
>
> $(FREETYPE_TARGET_LIB): $(FREETYPE_BUNDLE_LIB_PATH)/$(call
> SHARED_LIBRARY,freetype)
> + $(MKDIR) -p $(JDK_OUTPUTDIR)/bin
> $(CP) $(FREETYPE_BUNDLE_LIB_PATH)/$(call
> SHARED_LIBRARY,freetype) $@
> ifeq ($(OPENJDK_BUILD_OS), windows)
> $(CHMOD) +rx $@
>
> -phil
More information about the build-dev
mailing list