Skip to content

Commit 8cac43f

Browse files
committed
Use elif
1 parent 331354a commit 8cac43f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/wheels-dependencies.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,10 @@ function build_libavif {
125125
local build_type=MinSizeRel
126126
local lto=ON
127127

128-
if [[ "$MB_ML_VER" == 2014 ]]; then
129-
build_type=Release
130-
fi
131128
if [ -n "$IS_MACOS" ]; then
132129
lto=OFF
130+
elif [[ "$MB_ML_VER" == 2014 ]]; then
131+
build_type=Release
133132
fi
134133

135134
local out_dir=$(fetch_unpack https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$LIBAVIF_VERSION.tar.gz libavif-$LIBAVIF_VERSION.tar.gz)

0 commit comments

Comments
 (0)