Update install.sh

This commit is contained in:
Mr Chen 2024-11-29 02:24:37 +08:00
parent 5b9a414688
commit 8ec3b66f20
1 changed files with 4 additions and 3 deletions

View File

@ -65,9 +65,10 @@ fi
# OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
# OPTIONS="${OPTIONS} --with-jpeg --with-jpeg-dir=/usr/lib"
OPTIONS='--without-iconv'
if [ $sysName == 'Darwin' ]; then
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
fi
# if [ $sysName == 'Darwin' ]; then
# OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
# fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then