This commit is contained in:
Mr Chen
2023-11-10 18:47:32 +08:00
parent b356ad5a43
commit 664852c26f
62 changed files with 739 additions and 135 deletions
+3 -5
View File
@@ -1,6 +1,6 @@
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin
export PATH
export PATH=$PATH:/opt/homebrew/bin
curPath=`pwd`
rootPath=$(dirname "$curPath")
@@ -71,12 +71,10 @@ fi
cd $sourcePath/php/php${PHP_VER}
OPTIONS=''
OPTIONS='--without-iconv'
if [ $sysName == 'Darwin' ]; then
OPTIONS='--without-iconv'
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
OPTIONS="${OPTIONS} --with-curl"
else
OPTIONS='--without-iconv'
OPTIONS="${OPTIONS} --with-curl"
fi