diff --git a/Dockerfile.android b/Dockerfile.android index 9036103c58..342f305714 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -52,9 +52,9 @@ ENV LIBEXPAT_VERSION=2.5.0 ENV LIBEXPAT_ARCHIVE=expat-$LIBEXPAT_VERSION.tar.bz2 ENV LIBEXPAT_URI=https://github.com/libexpat/libexpat/releases/download/R_2_5_0/$LIBEXPAT_ARCHIVE -ENV ZLIB_VERSION=1.3 +ENV ZLIB_VERSION=1.3.1 ENV ZLIB_ARCHIVE=zlib-$ZLIB_VERSION.tar.gz -ENV ZLIB_URI=https://zlib.net/$ZLIB_ARCHIVE +ENV ZLIB_URI=https://github.com/madler/zlib/releases/download/v1.3.1/$ZLIB_ARCHIVE ENV CARES_VERSION=1.21.0 ENV CARES_ARCHIVE=c-ares-$CARES_VERSION.tar.gz diff --git a/Dockerfile.mingw b/Dockerfile.mingw index 7a416cef69..5f2d0e640b 100644 --- a/Dockerfile.mingw +++ b/Dockerfile.mingw @@ -32,7 +32,7 @@ RUN apt-get update && \ RUN curl -L -O https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz && \ curl -L -O https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.bz2 && \ curl -L -O https://www.sqlite.org/2023/sqlite-autoconf-3430100.tar.gz && \ - curl -L -O https://www.zlib.net/zlib-1.3.tar.gz && \ + curl -L -O https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz && \ curl -L -O https://c-ares.org/download/c-ares-1.19.1.tar.gz && \ curl -L -O https://libssh2.org/download/libssh2-1.11.0.tar.bz2 @@ -68,8 +68,8 @@ RUN tar xf sqlite-autoconf-3430100.tar.gz && \ --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \ make -j$(nproc) install -RUN tar xf zlib-1.3.tar.gz && \ - cd zlib-1.3 && \ +RUN tar xf zlib-1.3.1.tar.gz && \ + cd zlib-1.3.1 && \ CC=$HOST-gcc \ AR=$HOST-ar \ LD=$HOST-ld \ diff --git a/README.android b/README.android index 997d0bac00..51bf748b01 100644 --- a/README.android +++ b/README.android @@ -44,7 +44,7 @@ The following libraries were statically linked. * openssl 1.1.1k * expat 2.4.1 -* zlib 1.2.11 +* zlib 1.3.1 * c-ares 1.17.2 * libssh2 1.9.0 diff --git a/README.mingw b/README.mingw index df2fba2ea7..5492bbab3e 100644 --- a/README.mingw +++ b/README.mingw @@ -11,7 +11,7 @@ necessary. The linked libraries are: * gmp 6.3.0 * expat 2.5.0 * sqlite 3.43.1 -* zlib 1.3 +* zlib 1.3.1 * c-ares 1.19.1 * libssh2 1.11.0