use pkg-config instead freetype-config
freetype-config has been removed from freetype earlier this year This allows compiling with at least gcc 4.3 gcc 4.9 doesn't work, nor does 4.5 (due to different reasons though)
This commit is contained in:
parent
746c060d2d
commit
3cc8ddb5a2
1 changed files with 2 additions and 2 deletions
|
@ -765,8 +765,8 @@ if test "$FREETYPE_CONFIG" = "no" ; then
|
|||
*** Unable to find FreeType2 library (http://www.freetype.org/)
|
||||
])
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
|
||||
FREETYPE_LIBS=`$FREETYPE_CONFIG $freetypeconf_args --libs`
|
||||
CPPFLAGS="$CPPFLAGS `pkg-config --cflags freetype2`"
|
||||
FREETYPE_LIBS="`pkg-config --libs freetype2`"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue