Skip to content

Commit

Permalink
fix: πŸ› libressl build
Browse files Browse the repository at this point in the history
  • Loading branch information
abcfy2 committed Sep 9, 2023
1 parent 6dd7b13 commit 26accc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ prepare_ssl() {
if [ x"${TARGET_HOST}" != xWindows ]; then
if [ x"${USE_LIBRESSL}" = x1 ]; then
# libressl
libressl_tag="$(retry wget -qO- --compression=auto https://www.libressl.org/index.html \| grep "'release is'" \| tail -1 \| sed -r "'s/.* (.+)<.*>$/\1/'")" libressl_latest_url="https://cloudflare.cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libressl_tag}.tar.gz"
libressl_tag="$(retry wget -qO- --compression=auto https://www.libressl.org/index.html \| grep "'release is'" \| tail -1 \| sed -r "'s/.* (.+)<.*>$/\1/'")" libressl_latest_url="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libressl_tag}.tar.gz"
if [ x"${USE_CHINA_MIRROR}" = x1 ]; then
libressl_latest_url="https://mirror.sjtu.edu.cn/OpenBSD/LibreSSL/libressl-${libressl_tag}.tar.gz"
fi
Expand Down

0 comments on commit 26accc2

Please sign in to comment.