From 086096dd3e4e3c22d8cb068cac195fc3037208f5 Mon Sep 17 00:00:00 2001 From: jiaojm <13763605353@163.com> Date: Wed, 7 Jan 2026 18:44:03 +0800 Subject: [PATCH] fix --- scripts/cross-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh index 27fb2de..c118be0 100755 --- a/scripts/cross-build.sh +++ b/scripts/cross-build.sh @@ -18,7 +18,7 @@ LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.3.3}" build_zlib() { echo "=== Building zlib-${ZLIB_VERSION} (${TARGET})..." - curl -lfSsLo- "https://mirror.ghproxy.com/https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zlib-${ZLIB_VERSION}.tar.gz" | tar xz -C "${BUILD_DIR}" + curl -kfSsLo- "https://mirror.ghproxy.com/https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zlib-${ZLIB_VERSION}.tar.gz" | tar xz -C "${BUILD_DIR}" pushd "${BUILD_DIR}"/zlib-"${ZLIB_VERSION}" env CHOST="${TARGET}" ./configure --static --archs="-fPIC" --prefix="${STAGE_DIR}" make -j"$(nproc)" install