mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 19:36:38 +03:00
Updated zlib on macOS to 1.2.12
This commit is contained in:
parent
6e18edb2c8
commit
d3649a32ca
|
@ -14,7 +14,7 @@ TIFF_VERSION=4.3.0
|
||||||
LCMS2_VERSION=2.13.1
|
LCMS2_VERSION=2.13.1
|
||||||
if [[ -n "$IS_MACOS" ]]; then
|
if [[ -n "$IS_MACOS" ]]; then
|
||||||
GIFLIB_VERSION=5.1.4
|
GIFLIB_VERSION=5.1.4
|
||||||
ZLIB_VERSION=1.2.11
|
ZLIB_VERSION=1.2.12
|
||||||
else
|
else
|
||||||
GIFLIB_VERSION=5.2.1
|
GIFLIB_VERSION=5.2.1
|
||||||
ZLIB_VERSION=1.2.8
|
ZLIB_VERSION=1.2.8
|
||||||
|
@ -54,6 +54,9 @@ function pre_build {
|
||||||
if [ -z "$IS_ALPINE" ] && [ -z "$IS_MACOS" ]; then
|
if [ -z "$IS_ALPINE" ] && [ -z "$IS_MACOS" ]; then
|
||||||
yum remove -y zlib-devel
|
yum remove -y zlib-devel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Workaround for zlib 1.2.12
|
||||||
|
export cc=$CC
|
||||||
build_new_zlib
|
build_new_zlib
|
||||||
|
|
||||||
if [ -n "$IS_MACOS" ]; then
|
if [ -n "$IS_MACOS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user