Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 6368e4b

Browse files
committed
Downgraded libXau to 1.0.10 when targeting macOS 10.10
1 parent 8995e5d commit 6368e4b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
ARCHIVE_SDIR=pillow-depends-main
55

66
# Package versions for fresh source builds
7+
if [[ -n "$IS_MACOS" ]] && [[ $MACOSX_DEPLOYMENT_TARGET == "10.10" ]]; then
8+
LIBXAU_VERSION=1.0.10
9+
else
10+
LIBXAU_VERSION=1.0.11
11+
fi
712
FREETYPE_VERSION=2.12.1
813
HARFBUZZ_VERSION=6.0.0
914
LIBPNG_VERSION=1.6.39
@@ -70,7 +75,7 @@ function pre_build {
7075
build_simple xcb-proto 1.15.2 https://xcb.freedesktop.org/dist
7176
if [ -n "$IS_MACOS" ]; then
7277
build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto
73-
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
78+
build_simple libXau $LIBXAU_VERSION https://www.x.org/pub/individual/lib
7479
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
7580
cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc
7681
else

0 commit comments

Comments
 (0)