Skip to content

Commit 253bca0

Browse files
authored
Merge pull request #1 from gwsystems/fix/zlib-fossils-url
fix: download zlib from zlib.net/fossils (root URL now 404s)
2 parents 77d1f65 + 401bfa8 commit 253bca0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

install_libpng_wasi.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ if [ -f "$ZLIB_TARBALL" ]; then
2727
echo "Tarball $ZLIB_TARBALL already exists. Skipping re-download."
2828
else
2929
echo "Tarball $ZLIB_TARBALL does not exist. Downloading the tarball."
30-
wget https://zlib.net/$ZLIB.tar.gz
30+
# zlib.net only serves the current release at the root; older versions are
31+
# permanently archived under /fossils/. (Was https://zlib.net/$ZLIB.tar.gz, now 404.)
32+
wget https://zlib.net/fossils/$ZLIB.tar.gz
3133
fi
3234

3335
# Check if the directory already exists

0 commit comments

Comments
 (0)