mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
up
This commit is contained in:
@@ -27,13 +27,13 @@ if [ ! -d ${SERVER_ROOT}/openssl35 ];then
|
||||
|
||||
|
||||
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl35/lib
|
||||
if [ -d /etc/ld.so.conf.d ];then
|
||||
echo "/www/server/lib/openssl35/lib64" > /etc/ld.so.conf.d/openssl35.conf
|
||||
elif [ -f /etc/ld.so.conf ]; then
|
||||
echo "/www/server/lib/openssl35/lib64" >> /etc/ld.so.conf
|
||||
fi
|
||||
# if [ -d /etc/ld.so.conf.d ];then
|
||||
# echo "/www/server/lib/openssl35/lib64" > /etc/ld.so.conf.d/openssl35.conf
|
||||
# elif [ -f /etc/ld.so.conf ]; then
|
||||
# echo "/www/server/lib/openssl35/lib64" >> /etc/ld.so.conf
|
||||
# fi
|
||||
|
||||
ldconfig
|
||||
# ldconfig
|
||||
# ldconfig -p | grep openssl
|
||||
|
||||
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
|
||||
|
||||
@@ -120,7 +120,7 @@ if [ "$sysName" == "Darwin" ];then
|
||||
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
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
|
||||
OPTIONS="$OPTIONS --with-openssl"
|
||||
fi
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ if [ "$sysName" == "Darwin" ];then
|
||||
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
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
|
||||
OPTIONS="$OPTIONS --with-openssl"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user