Merge pull request #197 from radarhere/libtiff

Do not use libtiff 4.3.0 on macOS 11 builds
This commit is contained in:
Hugo van Kemenade 2021-05-09 18:39:44 +03:00 committed by GitHub
commit 3b8d91552f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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