This is an automated email from the ASF dual-hosted git repository.
zixuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-python.git
The following commit(s) were added to refs/heads/main by this push:
new a6b7c49 Fixed missed version of zlib (#17)
a6b7c49 is described below
commit a6b7c494682ba4c464ff46070e210bbb3ad2a826
Author: Matteo Merli <[email protected]>
AuthorDate: Fri Oct 14 09:32:12 2022 -0700
Fixed missed version of zlib (#17)
---
dependencies.yaml | 2 +-
pkg/mac/build-dependencies.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dependencies.yaml b/dependencies.yaml
index d91f97e..262b100 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -22,7 +22,7 @@ boost: 1.80.0
# Only used for MacOS builds
cmake: 3.24.2
protobuf: 3.20.0
-zlib: 1.2.12
+zlib: 1.2.13
zstd: 1.5.2
snappy: 1.1.9
openssl: 1.1.1q
diff --git a/pkg/mac/build-dependencies.sh b/pkg/mac/build-dependencies.sh
index 35f8685..3e409bf 100755
--- a/pkg/mac/build-dependencies.sh
+++ b/pkg/mac/build-dependencies.sh
@@ -50,7 +50,7 @@ PREFIX=$CACHE_DIR/install
###############################################################################
if [ ! -f zlib-${ZLIB_VERSION}/.done ]; then
echo "Building ZLib"
- curl -O -L https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz
+ curl -O -L https://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz
tar xfz zlib-$ZLIB_VERSION.tar.gz
pushd zlib-$ZLIB_VERSION
CFLAGS="-fPIC -O3 -arch arm64 -arch x86_64
-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" ./configure --prefix=$PREFIX