Skip to content

Commit d88986a

Browse files
Link transitive dependencies
Co-authored-by: Russell Keith-Magee <[email protected]>
1 parent 6c12d18 commit d88986a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,11 @@ function build {
280280
if [[ -n "$IS_MACOS" ]]; then
281281
webp_cflags="$webp_cflags -Wl,-headerpad_max_install_names"
282282
fi
283-
CFLAGS="$CFLAGS $webp_cflags" build_simple libwebp $LIBWEBP_VERSION \
284-
https://storage.googleapis.com/downloads.webmproject.org/releases/webp tar.gz \
283+
webp_ldflags=""
284+
if [[ -n "$IOS_SDK" ]]; then
285+
webp_ldflags="$webp_ldflags -llzma -lz"
286+
fi
287+
CFLAGS="$CFLAGS $webp_cflags" LDFLAGS="$LDFLAGS $webp_ldflags" build_simple libwebp $LIBWEBP_VERSION \
285288
--enable-libwebpmux --enable-libwebpdemux --disable-libwebpexamples
286289

287290
build_brotli

0 commit comments

Comments
 (0)