Skip to content

Commit

Permalink
use pkg-config instead freetype-config
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
sevu committed Dec 23, 2018
1 parent 746c060 commit 3cc8ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -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
Expand Down

0 comments on commit 3cc8ddb

Please sign in to comment.