make/lib/Awt2dLibraries.gmk
branchihse-jdk-library-branch
changeset 56547 3b9f0b44c57b
parent 56529 43a1b4fb83b8
parent 49999 d70bc48b2a20
child 56687 f0d5c39dfbc1
--- a/make/lib/Awt2dLibraries.gmk	Fri May 04 13:57:59 2018 +0200
+++ b/make/lib/Awt2dLibraries.gmk	Mon May 14 22:09:08 2018 +0200
@@ -625,9 +625,9 @@
         $(subst -Wl$(COMMA)-z$(COMMA)defs,,$(LDFLAGS_JDKLIB))) $(LDFLAGS_CXX_JDK) \
         $(call SET_SHARED_LIBRARY_ORIGIN), \
     LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
+    LDFLAGS_aix := -Wl$(COMMA)-berok, \
     LIBS := $(BUILD_LIBFONTMANAGER_FONTLIB), \
     LIBS_unix := -lawt -ljava -ljvm $(LIBM) $(LIBCXX), \
-    LIBS_aix := -lawt_headless, \
     LIBS_macosx := -lawt_lwawt -framework CoreText -framework CoreFoundation \
         -framework CoreGraphics, \
     LIBS_windows := $(WIN_JAVA_LIB) advapi32.lib user32.lib gdi32.lib \
@@ -636,10 +636,6 @@
 
 $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT)
 
-ifneq (, $(findstring $(OPENJDK_TARGET_OS), solaris aix))
-  $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_HEADLESS)
-endif
-
 ifeq ($(OPENJDK_TARGET_OS), macosx)
   $(BUILD_LIBFONTMANAGER): $(call FindLib, $(MODULE), awt_lwawt)
 endif