From f9283718f054180de65f3c2f6cc1b9500c5966c6 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Sat, 14 May 2022 12:34:11 +1000 Subject: [PATCH] Downgrade openjpeg to 2.4.0 on macOS x86_64 --- config.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 611b3a7aa..315ca8f40 100644 --- a/config.sh +++ b/config.sh @@ -8,7 +8,11 @@ FREETYPE_VERSION=2.12.1 HARFBUZZ_VERSION=4.2.1 LIBPNG_VERSION=1.6.37 JPEGTURBO_VERSION=2.1.3 -OPENJPEG_VERSION=2.5.0 +if [[ -n "$IS_MACOS" ]] && [[ "$PLAT" == "x86_64" ]]; then + OPENJPEG_VERSION=2.4.0 +else + OPENJPEG_VERSION=2.5.0 +fi XZ_VERSION=5.2.5 TIFF_VERSION=4.3.0 LCMS2_VERSION=2.13.1