File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,7 @@ OPENJPEG_VERSION=2.5.3
4545XZ_VERSION=5.6.3
4646TIFF_VERSION=4.6.0
4747LCMS2_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
5349ZLIB_NG_VERSION=2.2.2
5450LIBWEBP_VERSION=1.5.0
5551BZIP2_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
You can’t perform that action at this time.
0 commit comments