Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,25 @@ function build {
# headers/libs in the custom macOS/iOS prefix. Explicitly disable webp,
# libdeflate and zstd, because on x86_64 macs, it will pick up the
# Homebrew versions of those libraries from /usr/local.
tiff_configure_args=(
--disable-contrib
--disable-cxx
--disable-dependency-tracking
--disable-docs
--disable-libdeflate
--disable-tests
--disable-tools
--disable-webp
--disable-zstd
--with-jpeg-include-dir=$BUILD_PREFIX/include
--with-jpeg-lib-dir=$BUILD_PREFIX/lib
)
if [[ -z "$IOS_SDK" ]]; then
# iOS links libtiff statically, but otherwise we need the dylib.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you come to the conclusion that iOS behaves differently?

tiff_configure_args+=(--disable-static)
fi
build_simple tiff $TIFF_VERSION https://download.osgeo.org/libtiff tar.gz \
--with-jpeg-include-dir=$BUILD_PREFIX/include --with-jpeg-lib-dir=$BUILD_PREFIX/lib \
--disable-webp --disable-libdeflate --disable-zstd
"${tiff_configure_args[@]}"
else
build_zstd
build_tiff
Expand Down
Loading