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:
Severin Glöckner 2018-11-27 02:29:17 +01:00
parent 746c060d2d
commit 3cc8ddb5a2

View file

@ -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