This commit is contained in:
parent
3a56faf123
commit
d155c675f2
|
|
@ -27,11 +27,11 @@ if [ ! -d ${SERVER_ROOT}/openssl30 ];then
|
|||
|
||||
|
||||
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl30/lib
|
||||
if [ -d /etc/ld.so.conf.d ];then
|
||||
echo "/www/server/lib/openssl30/lib64" > /etc/ld.so.conf.d/openssl30.conf
|
||||
elif [ -f /etc/ld.so.conf ]; then
|
||||
echo "/www/server/lib/openssl30/lib64" >> /etc/ld.so.conf
|
||||
fi
|
||||
# if [ -d /etc/ld.so.conf.d ];then
|
||||
# echo "/www/server/lib/openssl30/lib64" > /etc/ld.so.conf.d/openssl30.conf
|
||||
# elif [ -f /etc/ld.so.conf ]; then
|
||||
# echo "/www/server/lib/openssl30/lib64" >> /etc/ld.so.conf
|
||||
# fi
|
||||
|
||||
ldconfig
|
||||
# ldconfig -p | grep openssl
|
||||
|
|
|
|||
|
|
@ -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_35.sh
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/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
|
||||
|
||||
|
|
|
|||
|
|
@ -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_35.sh
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue