Blame SOURCES/jdk8272332-rh2004078-broken_harfbuzz_linking.patch

5459fd
commit e506cb23cfce35d1bc997d1e280f4dc40c9b3397
5459fd
Author: Severin Gehwolf <sgehwolf@openjdk.org>
5459fd
Date:   Mon Aug 16 09:57:28 2021 +0000
5459fd
5459fd
    8272332: --with-harfbuzz=system doesn't add -lharfbuzz after JDK-8255790
5459fd
    
5459fd
    Backport-of: d38b31438dd4730ee2149c02277d60c35b9d7d81
5459fd
5459fd
diff --git openjdk.orig/make/modules/java.desktop/lib/Awt2dLibraries.gmk openjdk/make/modules/java.desktop/lib/Awt2dLibraries.gmk
5459fd
index 4d0c0c00dbf..ef7eadae206 100644
5459fd
--- openjdk.orig/make/modules/java.desktop/lib/Awt2dLibraries.gmk
5459fd
+++ openjdk/make/modules/java.desktop/lib/Awt2dLibraries.gmk
5459fd
@@ -435,7 +435,7 @@ endif
5459fd
 
5459fd
 ifeq ($(USE_EXTERNAL_HARFBUZZ), true)
5459fd
    LIBFONTMANAGER_EXTRA_SRC =
5459fd
-   BUILD_LIBFONTMANAGER_FONTLIB += $(LIBHARFBUZZ_LIBS)
5459fd
+   BUILD_LIBFONTMANAGER_FONTLIB += $(HARFBUZZ_LIBS)
5459fd
 else
5459fd
    LIBFONTMANAGER_EXTRA_SRC = libharfbuzz
5459fd