From 8cac43f872fc17242e8d91ab5a9028abbe9bbe5d Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 9 Apr 2025 07:56:19 +1000 Subject: [PATCH] Use elif --- .github/workflows/wheels-dependencies.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels-dependencies.sh b/.github/workflows/wheels-dependencies.sh index 6feda6b0d..7a65de880 100755 --- a/.github/workflows/wheels-dependencies.sh +++ b/.github/workflows/wheels-dependencies.sh @@ -125,11 +125,10 @@ function build_libavif { local build_type=MinSizeRel local lto=ON - if [[ "$MB_ML_VER" == 2014 ]]; then - build_type=Release - fi if [ -n "$IS_MACOS" ]; then lto=OFF + elif [[ "$MB_ML_VER" == 2014 ]]; then + build_type=Release fi local out_dir=$(fetch_unpack https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$LIBAVIF_VERSION.tar.gz libavif-$LIBAVIF_VERSION.tar.gz)