make/lib/Awt2dLibraries.gmk
changeset 48040 26f1193f1348
parent 48032 9240097e2821
child 48274 51772bf1fb0c
--- a/make/lib/Awt2dLibraries.gmk	Fri Dec 01 17:00:34 2017 +0100
+++ b/make/lib/Awt2dLibraries.gmk	Fri Dec 01 09:46:36 2017 -0800
@@ -702,12 +702,6 @@
     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libfontmanager, \
 ))
 
-$(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT)
-
-ifneq (, $(findstring $(OPENJDK_TARGET_OS), solaris aix))
-  $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_HEADLESS)
-endif
-
 $(INSTALL_LIBRARIES_HERE)/$(call SHARED_LIBRARY,fontmanager): $(BUILD_LIBFONTMANAGER_TARGET)
 	$(install-file)
         ifneq ($(FREETYPE_BUNDLE_LIB_PATH), )
@@ -721,7 +715,15 @@
           endif
         endif
 
-TARGETS += $(INSTALL_LIBRARIES_HERE)/$(call SHARED_LIBRARY,fontmanager)
+BUILD_LIBFONTMANAGER += $(INSTALL_LIBRARIES_HERE)/$(call SHARED_LIBRARY,fontmanager)
+
+$(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT)
+
+ifneq (, $(findstring $(OPENJDK_TARGET_OS), solaris aix))
+  $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_HEADLESS)
+endif
+
+TARGETS += $(BUILD_LIBFONTMANAGER)
 
 ################################################################################