Skip to content

Commit 9deef83

Browse files
committed
Updated to giflib 5.2.2 on Linux
1 parent 57786a2 commit 9deef83

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 6 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,11 @@ 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+
yum install -y ImageMagick
142143
fi
143144
build_libwebp
144145
CFLAGS=$ORIGINAL_CFLAGS

0 commit comments

Comments
 (0)