diff options
author | Moazin Khatti <moazinkhatri@gmail.com> | 2019-07-26 18:58:54 +0500 |
---|---|---|
committer | Moazin Khatti <moazinkhatri@gmail.com> | 2019-08-26 01:17:14 +0500 |
commit | b85cc5ef0d0f2844dc3bd9149730d5455fd3c12f (patch) | |
tree | 867b91300e99bd57dd19df6aa85a25eb73032c39 | |
parent | 3479e03cdb9b53f1102632c98839ca4d8974e340 (diff) | |
download | freetype2-b85cc5ef0d0f2844dc3bd9149730d5455fd3c12f.tar.gz |
For now resort to a simpler regular expresion.
We have to remove the system installation of FreeType
from the includes, the proper way is to write a regular
expression that removes the whole path. The last one
is buggy (it can remove other libs along with freetype)
so for now I am temporarily resorting to this one.
-rw-r--r-- | builds/unix/configure.raw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index 4739a1473..6b0ec7537 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -1137,7 +1137,7 @@ elif test "$with_svg" = auto -a "$have_librsvg" = no; then ftoption_unset FT_CONFIG_OPTION_SVG ftoption_unset FT_CONFIG_OPTION_DEFAULT_SVG else - LIBRSVG_CFLAGS=$(echo $LIBRSVG_CFLAGS | sed -e 's/-I\(.*\?\)freetype2//g') + LIBRSVG_CFLAGS=$(echo $LIBRSVG_CFLAGS | sed -e 's/freetype2//g') CFLAGS="$CFLAGS $LIBRSVG_CFLAGS" LDFLAGS="$LDFLAGS $LIBRSVG_LIBS" COMPILE_SVG_PORT=yes |