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

Freetype bundled on macosx, but not correctly linked

XMLWordPrintable

    • b35
    • os_x
    • Not verified

        When building OpenJDK on Macosx, we bundle the freetype library if specifically specified on the configure command line, but not if it's found on the system. But because of how the linking works, libfontmanager will always just look for freetype in /opt/X11/lib/libfreetype.6.so. To fix this, we need to patch libfontmanager.dylib to look in @rpath/libfreetype.dylib instead when bundling freetype.

        Note that Oracle produced openjdk macos builds do not currently bundle freetype.

              erikj Erik Joelsson
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: