Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272332

--with-harfbuzz=system doesn't add -lharfbuzz after JDK-8255790

    XMLWordPrintable

Details

    • b11

    Backports

      Description

        Looking at make/modules/java.desktop/lib/Awt2dLibraries.gmk I see this:

        ifeq ($(USE_EXTERNAL_HARFBUZZ), true)
           LIBFONTMANAGER_EXTRA_SRC =
           BUILD_LIBFONTMANAGER_FONTLIB += $(LIBHARFBUZZ_LIBS)
        else
           LIBFONTMANAGER_EXTRA_SRC = libharfbuzz
        [...]

        Note the BUILD_LIBFONTMANAGER_FONTLIB += $(LIBHARFBUZZ_LIBS) piece which is supposed to add relevant linker flags.

        Yet, LIBHARFBUZZ_LIBS is never actually set by the build system. HARFBUZZ_LIBS is:

        $ grep HARFBUZZ_LIBS build/linux-x86_64-server-release/spec.gmk
        HARFBUZZ_LIBS:=-lharfbuzz

        Attachments

          Issue Links

            Activity

              People

                sgehwolf Severin Gehwolf
                sgehwolf Severin Gehwolf
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: