Skip to content

Commit 2d7597a

Browse files
committed
Updated to giflib 5.2.2 on Linux
1 parent 57786a2 commit 2d7597a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ OPENJPEG_VERSION=2.5.3
4545
XZ_VERSION=5.6.3
4646
TIFF_VERSION=4.6.0
4747
LCMS2_VERSION=2.16
48-
if [[ -n "$IS_MACOS" ]]; then
49-
GIFLIB_VERSION=5.2.2
50-
else
51-
GIFLIB_VERSION=5.2.1
52-
fi
48+
GIFLIB_VERSION=5.2.2
5349
ZLIB_NG_VERSION=2.2.2
5450
LIBWEBP_VERSION=1.5.0
5551
BZIP2_VERSION=1.0.8
@@ -139,6 +135,14 @@ function build {
139135
CFLAGS="$CFLAGS -O3 -DNDEBUG"
140136
if [[ -n "$IS_MACOS" ]]; then
141137
CFLAGS="$CFLAGS -Wl,-headerpad_max_install_names"
138+
# For giflib 5.2.2
139+
elif [ -n "$IS_ALPINE" ]; then
140+
apk add imagemagick
141+
else
142+
if [[ "$MB_ML_VER" == "_2_28" ]]; then
143+
yum install -y epel-release
144+
fi
145+
yum install -y ImageMagick
142146
fi
143147
build_libwebp
144148
CFLAGS=$ORIGINAL_CFLAGS

0 commit comments

Comments
 (0)