Do not use libtiff 4.3.0 on macOS 11 builds

This commit is contained in:
Andrew Murray 2021-05-09 14:38:00 +10:00
parent 2b95a2fbfc
commit a80c2de3ab

View File

@ -71,6 +71,9 @@ function pre_build {
build_jpeg
CFLAGS=$ORIGINAL_CFLAGS
if [[ -n "$IS_MACOS" && $MACOSX_DEPLOYMENT_TARGET == "11.0" ]]; then
TIFF_VERSION=4.2.0
fi
build_tiff
if [ -n "$IS_MACOS" ]; then
# Remove existing libpng