This commit is contained in:
dami
2025-12-11 14:46:13 +08:00
parent 9bf9322994
commit ddc3011dd9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -119,8 +119,8 @@ if [ "$sysName" == "Darwin" ];then
export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include"
export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz"
else
cd ${rootPath}/plugins/php/lib && /bin/bash openssl_30.sh
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl30/lib/pkgconfig
cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi
+2 -2
View File
@@ -121,8 +121,8 @@ if [ "$sysName" == "Darwin" ];then
export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz"
else
echo "lib"
# cd ${rootPath}/plugins/php/lib && /bin/bash openssl_30.sh
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl30/lib/pkgconfig
cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi