Menu

#29 use pkg-config to look up freetype info

closed
5
2018-11-02
2013-01-21
No

the current logic uses freetype-config and hardcodes the subdir paths. unfortunately this breaks when using different ABIs (e.g. /usr/lib is not the native ABI) as well as when cross-compiling.

this could be easily solved by using pkg-config like so:
PKG_CHECK_MODULES([FREETYPE], [freetype2], [
LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
],[AC_MSG_ERROR([could not locate freetype2])])

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2018-11-02
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-11-02

    This is finally addressed in development GraphicsMagick and will appear in the next release.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-11-02
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB