This commit is contained in:
midoks
2023-08-13 13:57:46 +08:00
parent 0cd4527234
commit 4329d2470c
5 changed files with 23 additions and 9 deletions
+1 -3
View File
@@ -85,12 +85,10 @@ Install_lib()
fi
cd $sourcePath/php${version}/ext/${LIBNAME}
OPTIONS=""
if [ "${SYS_ARCH}" == "aarch64" ] && [ "$version" -lt "56" ];then
OPTIONS="$OPTIONS --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu"
fi
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
make clean && make && make install && make clean