- freetype2 will no longer ship freetype-config (which was a pkg-config wrapper) in the near future -- use pkg-config to gather the required flags. PR: 251512
13 lines
402 B
Text
13 lines
402 B
Text
--- configure.orig 2021-08-07 06:08:17 UTC
|
|
+++ configure
|
|
@@ -8610,8 +8610,8 @@ if test "$FT_CONFIG" = "" ; then
|
|
echo "$as_me: error: freetype not found" >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
fi
|
|
-FT_FLAGS=`freetype-config --cflags`
|
|
-FT_LIBS=`freetype-config --libs`
|
|
+FT_FLAGS=`pkg-config freetype2 --cflags`
|
|
+FT_LIBS=`pkg-config freetype2 --libs`
|
|
CXXFLAGS="$FT_FLAGS $CXXFLAGS"
|
|
LIBS="$FT_LIBS $LIBS"
|
|
|