Menu

#260 Please use pkg-config to find freetype

other
closed-fixed
None
5
2018-05-29
2018-05-08
No

As of freetype-2.9.1 the freetype-config file no longer gets installed by default.

See also the corresponding upstream commit:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a7833f26c4ac45cafe1dffdcd7f7dcfd6493161c

There a handy autotools macro for pkg-config which can be used to find freetype:

PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES(FREETYPE, freetype2,, AC_MSG_ERROR([Cannot find freetype]))

And then you can access cflags and libs with

$FREETYPE_CFLAGS
$FREETYPE_LIBS

Discussion

  • Andrea Mazzoleni

    I should be fine now (in git).

    Thanks,
    Andrea

     
  • Andrea Mazzoleni

    • status: open --> closed-fixed
    • assigned_to: Andrea Mazzoleni
     
  • Polynomial-C

    Polynomial-C - 2018-05-29

    Thank you very much.
    Can you do the same for advancemenu please?

     

Log in to post a comment.

Monday.com Logo