This commit is contained in:
dami
2026-04-02 10:11:11 +08:00
parent f9d441a97f
commit 047a14dcbc
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ Install_openresty()
fi
if [[ "$VERSION" =~ "1.25.3" ]] || [[ "$VERSION" =~ "1.27.1" ]];then
if [[ "$VERSION" =~ "1.27.1" ]];then
OPTIONS="${OPTIONS} --with-http_v3_module"
if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
+8 -8
View File
@@ -117,16 +117,16 @@ Install_openresty()
if [[ "$VERSION" =~ "1.29.2" ]];then
OPTIONS="${OPTIONS} --with-http_v3_module"
if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz
fi
# if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
# wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz
# fi
if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then
cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz
fi
# if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then
# cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz
# fi
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include"
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib"
# OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include"
# OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib"
fi
# br