Skip to content

Commit 950d07e

Browse files
authored
zlib: fallback to mirror
1 parent 754b147 commit 950d07e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx-build-msys2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ git checkout -b patch
6161
git am -3 ../nginx-*.patch
6262

6363
# download deps
64-
wget -c -nv "https://zlib.net/${ZLIB}.tar.xz"
64+
wget -c -nv "https://zlib.net/${ZLIB}.tar.xz" || \
65+
wget -c -nv "http://prdownloads.sourceforge.net/libpng/${ZLIB}.tar.xz"
6566
tar -xf "${ZLIB}.tar.xz"
6667
wget -c -nv "https://ftp.pcre.org/pub/pcre/${PCRE}.tar.bz2"
6768
tar -xf "${PCRE}.tar.bz2"

0 commit comments

Comments
 (0)