There was an error while loading. Please reload this page.
2 parents 8bafb32 + 1d76f76 commit bb071d8Copy full SHA for bb071d8
1 file changed
function/php.sh
@@ -229,13 +229,10 @@ if check_sys packageManager apt; then
229
# local ICUVer=`dpkg -s libicu-dev | grep "Version:" `
230
# if [[ "$FreeTypeVer" =~ "2.9.1-3" && "$ICUVer" =~ "63.1-6" ]];then
231
if [[ "$FreeTypeVer" =~ "2.9.1-3" ]];then
232
- echo "OK!"
233
sed -i "s/freetype-config/pkg-config/g" ./configure
234
sed -i "s/freetype-config/pkg-config/g" ./ext/gd/config.m4
235
-
236
- # sed -i "s/icu-config/pkg-config/g" ./configure
237
- # sed -i "s/icu-config/pkg-config/g" ./aclocal.m4
238
- # sed -i "s/icu-config/pkg-config/g" ./acinclude.m4
+ sed -i "s/FREETYPE2_CONFIG --cflags/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure
+ sed -i "s/FREETYPE2_CONFIG --libs/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure
239
fi
240
241
}
0 commit comments