mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +03:00
Use elif
This commit is contained in:
parent
331354a839
commit
8cac43f872
5
.github/workflows/wheels-dependencies.sh
vendored
5
.github/workflows/wheels-dependencies.sh
vendored
|
@ -125,11 +125,10 @@ function build_libavif {
|
||||||
local build_type=MinSizeRel
|
local build_type=MinSizeRel
|
||||||
local lto=ON
|
local lto=ON
|
||||||
|
|
||||||
if [[ "$MB_ML_VER" == 2014 ]]; then
|
|
||||||
build_type=Release
|
|
||||||
fi
|
|
||||||
if [ -n "$IS_MACOS" ]; then
|
if [ -n "$IS_MACOS" ]; then
|
||||||
lto=OFF
|
lto=OFF
|
||||||
|
elif [[ "$MB_ML_VER" == 2014 ]]; then
|
||||||
|
build_type=Release
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local out_dir=$(fetch_unpack https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$LIBAVIF_VERSION.tar.gz libavif-$LIBAVIF_VERSION.tar.gz)
|
local out_dir=$(fetch_unpack https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$LIBAVIF_VERSION.tar.gz libavif-$LIBAVIF_VERSION.tar.gz)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user