Update openssl.sh

This commit is contained in:
midoks 2022-12-02 22:51:29 +08:00
parent 06e99096cf
commit eb5be2842d
1 changed files with 5 additions and 4 deletions

View File

@ -63,10 +63,11 @@ Install_lib()
mv config0.m4 config.m4
fi
openssl_version=`pkg-config openssl --modversion`
if [ "$version" -lt "70" ];then
export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig
fi
# openssl_version=`pkg-config openssl --modversion`
export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig
# if [ "$version" -lt "70" ];then
# export PKG_CONFIG_PATH=$serverPath/lib/openssl10/lib/pkgconfig
# fi
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config \