From 4205dee94a303385692ffe51e8f9aac4e7a4abc9 Mon Sep 17 00:00:00 2001 From: Howard Wu Date: Wed, 22 Mar 2023 14:58:42 +0800 Subject: [PATCH] Stay at curl 7.88.1 until we adapt it (#590) curl 7 -> 8 is a breaking change --- scripts/build.alpine.release.sh | 2 +- scripts/build.macos.release.sh | 2 +- scripts/build.windows.release.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build.alpine.release.sh b/scripts/build.alpine.release.sh index 9c729d4..ebeec70 100644 --- a/scripts/build.alpine.release.sh +++ b/scripts/build.alpine.release.sh @@ -4,7 +4,7 @@ set -xe apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool python2 apk add mbedtls-dev mbedtls-static zlib-dev rapidjson-dev libevent-dev libevent-static zlib-static pcre2-dev -git clone https://github.com/curl/curl --depth=1 +git clone https://github.com/curl/curl --depth=1 --branch curl-7_88_1 cd curl cmake -DCURL_USE_MBEDTLS=ON -DHTTP_ONLY=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_CURL_EXE=OFF . > /dev/null make install -j2 > /dev/null diff --git a/scripts/build.macos.release.sh b/scripts/build.macos.release.sh index 1764639..3e9c1a0 100644 --- a/scripts/build.macos.release.sh +++ b/scripts/build.macos.release.sh @@ -3,7 +3,7 @@ set -xe brew reinstall rapidjson libevent zlib pcre2 pkgconfig -#git clone https://github.com/curl/curl --depth=1 +#git clone https://github.com/curl/curl --depth=1 --branch curl-7_88_1 #cd curl #./buildconf > /dev/null #./configure --with-ssl=/usr/local/opt/openssl@1.1 --without-mbedtls --disable-ldap --disable-ldaps --disable-rtsp --without-libidn2 > /dev/null diff --git a/scripts/build.windows.release.sh b/scripts/build.windows.release.sh index 3de242c..8becc96 100644 --- a/scripts/build.windows.release.sh +++ b/scripts/build.windows.release.sh @@ -1,7 +1,7 @@ #!/bin/bash set -xe -git clone https://github.com/curl/curl --depth=1 +git clone https://github.com/curl/curl --depth=1 --branch curl-7_88_1 cd curl cmake -DCMAKE_BUILD_TYPE=Release -DCURL_USE_LIBSSH2=OFF -DHTTP_ONLY=ON -DCURL_USE_SCHANNEL=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_CURL_EXE=OFF -DCMAKE_INSTALL_PREFIX="$MINGW_PREFIX" -G "Unix Makefiles" -DHAVE_LIBIDN2=OFF -DCURL_USE_LIBPSL=OFF . make install -j4