8201221: JDK-8199608 introduced a build race on macosx
authorerikj
Thu, 05 Apr 2018 17:11:25 -0700
changeset 49539 af97dd04d913
parent 49538 707553fcca04
child 49540 9704789737c1
8201221: JDK-8199608 introduced a build race on macosx Reviewed-by: darcy
make/lib/Awt2dLibraries.gmk
--- a/make/lib/Awt2dLibraries.gmk	Thu Apr 05 17:04:16 2018 -0700
+++ b/make/lib/Awt2dLibraries.gmk	Thu Apr 05 17:11:25 2018 -0700
@@ -667,7 +667,7 @@
 endif
 
 ifeq ($(OPENJDK_TARGET_OS), macosx)
-  $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_LWAWT)
+  $(BUILD_LIBFONTMANAGER): $(call FindLib, java.desktop, awt_lwawt)
 endif
 
 ifeq ($(FREETYPE_TO_USE), bundled)