Skip to content

Commit 87b17c2

Browse files
committed
fix: update zlib download URL in build_zlib.sh script
- Changed the zlib download link to point to the GitHub releases page for better reliability. - Ensured compatibility with the specified ZLIB_VERSION environment variable.
1 parent 2bc8f71 commit 87b17c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/build/deplib/build_zlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -e
77
export ZLIB_VERSION=${ZLIB_VERSION:-1.3.1}
88

9-
wget https://www.zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz
9+
wget https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zlib-${ZLIB_VERSION}.tar.gz
1010
tar -xzf zlib-${ZLIB_VERSION}.tar.gz && cd zlib-${ZLIB_VERSION}
1111

1212
./configure --prefix=/opt/shared_libraries

0 commit comments

Comments
 (0)