mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Updated to giflib 5.2.2 on Linux
This commit is contained in:
parent
57786a252b
commit
2d7597ac6a
12
.github/workflows/wheels-dependencies.sh
vendored
12
.github/workflows/wheels-dependencies.sh
vendored
|
@ -45,11 +45,7 @@ OPENJPEG_VERSION=2.5.3
|
||||||
XZ_VERSION=5.6.3
|
XZ_VERSION=5.6.3
|
||||||
TIFF_VERSION=4.6.0
|
TIFF_VERSION=4.6.0
|
||||||
LCMS2_VERSION=2.16
|
LCMS2_VERSION=2.16
|
||||||
if [[ -n "$IS_MACOS" ]]; then
|
|
||||||
GIFLIB_VERSION=5.2.2
|
GIFLIB_VERSION=5.2.2
|
||||||
else
|
|
||||||
GIFLIB_VERSION=5.2.1
|
|
||||||
fi
|
|
||||||
ZLIB_NG_VERSION=2.2.2
|
ZLIB_NG_VERSION=2.2.2
|
||||||
LIBWEBP_VERSION=1.5.0
|
LIBWEBP_VERSION=1.5.0
|
||||||
BZIP2_VERSION=1.0.8
|
BZIP2_VERSION=1.0.8
|
||||||
|
@ -139,6 +135,14 @@ function build {
|
||||||
CFLAGS="$CFLAGS -O3 -DNDEBUG"
|
CFLAGS="$CFLAGS -O3 -DNDEBUG"
|
||||||
if [[ -n "$IS_MACOS" ]]; then
|
if [[ -n "$IS_MACOS" ]]; then
|
||||||
CFLAGS="$CFLAGS -Wl,-headerpad_max_install_names"
|
CFLAGS="$CFLAGS -Wl,-headerpad_max_install_names"
|
||||||
|
# For giflib 5.2.2
|
||||||
|
elif [ -n "$IS_ALPINE" ]; then
|
||||||
|
apk add imagemagick
|
||||||
|
else
|
||||||
|
if [[ "$MB_ML_VER" == "_2_28" ]]; then
|
||||||
|
yum install -y epel-release
|
||||||
|
fi
|
||||||
|
yum install -y ImageMagick
|
||||||
fi
|
fi
|
||||||
build_libwebp
|
build_libwebp
|
||||||
CFLAGS=$ORIGINAL_CFLAGS
|
CFLAGS=$ORIGINAL_CFLAGS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user