From 6368e4be5a9163bc82ca43428318de5a1ecea9e4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 4 Jan 2023 10:56:28 +1100 Subject: [PATCH] Downgraded libXau to 1.0.10 when targeting macOS 10.10 --- config.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 89dddb3d0..16d3f33a4 100644 --- a/config.sh +++ b/config.sh @@ -4,6 +4,11 @@ ARCHIVE_SDIR=pillow-depends-main # Package versions for fresh source builds +if [[ -n "$IS_MACOS" ]] && [[ $MACOSX_DEPLOYMENT_TARGET == "10.10" ]]; then + LIBXAU_VERSION=1.0.10 +else + LIBXAU_VERSION=1.0.11 +fi FREETYPE_VERSION=2.12.1 HARFBUZZ_VERSION=6.0.0 LIBPNG_VERSION=1.6.39 @@ -70,7 +75,7 @@ function pre_build { build_simple xcb-proto 1.15.2 https://xcb.freedesktop.org/dist if [ -n "$IS_MACOS" ]; then build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto - build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib + build_simple libXau $LIBXAU_VERSION https://www.x.org/pub/individual/lib build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc else