This commit is contained in:
Mr Chen
2025-01-07 16:25:52 +08:00
parent 8461c20e40
commit d967100c14
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -118,6 +118,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_11.sh
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl11/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi
+2
View File
@@ -111,6 +111,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_11.sh
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl11/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi