mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Updated zlib on musllinux to 1.2.12
This commit is contained in:
parent
d3649a32ca
commit
ce097fadd2
11
config.sh
11
config.sh
|
@ -14,9 +14,12 @@ 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.12
|
|
||||||
else
|
else
|
||||||
GIFLIB_VERSION=5.2.1
|
GIFLIB_VERSION=5.2.1
|
||||||
|
fi
|
||||||
|
if [[ -n "$IS_MACOS" ]] || [[ -n "$IS_ALPINE" ]]; then
|
||||||
|
ZLIB_VERSION=1.2.12
|
||||||
|
else
|
||||||
ZLIB_VERSION=1.2.8
|
ZLIB_VERSION=1.2.8
|
||||||
fi
|
fi
|
||||||
LIBWEBP_VERSION=1.2.2
|
LIBWEBP_VERSION=1.2.2
|
||||||
|
@ -55,8 +58,10 @@ function pre_build {
|
||||||
yum remove -y zlib-devel
|
yum remove -y zlib-devel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Workaround for zlib 1.2.12
|
if [[ -n "$IS_MACOS" ]]; then
|
||||||
export cc=$CC
|
# Workaround for zlib 1.2.12
|
||||||
|
export cc=$CC
|
||||||
|
fi
|
||||||
build_new_zlib
|
build_new_zlib
|
||||||
|
|
||||||
if [ -n "$IS_MACOS" ]; then
|
if [ -n "$IS_MACOS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user