Skip to content

Commit b374f26

Browse files
committed
Build libxcb dependencies on macOS x86-64
1 parent 40fceed commit b374f26

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/wheels-dependencies.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,11 @@ function build {
7272

7373
build_simple xcb-proto 1.16.0 https://xorg.freedesktop.org/archive/individual/proto
7474
if [ -n "$IS_MACOS" ]; then
75-
if [[ "$CIBW_ARCHS" == "arm64" ]]; then
76-
build_simple xorgproto 2023.2 https://www.x.org/pub/individual/proto
77-
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
78-
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
79-
if [ -f /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc ]; then
80-
cp /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc /Library/Frameworks/Python.framework/Versions/Current/lib/pkgconfig/xcb-proto.pc
81-
fi
75+
build_simple xorgproto 2023.2 https://www.x.org/pub/individual/proto
76+
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
77+
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
78+
if [ -f /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc ]; then
79+
cp /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc /Library/Frameworks/Python.framework/Versions/Current/lib/pkgconfig/xcb-proto.pc
8280
fi
8381
else
8482
sed s/\${pc_sysrootdir\}// /usr/local/share/pkgconfig/xcb-proto.pc > /usr/local/lib/pkgconfig/xcb-proto.pc

0 commit comments

Comments
 (0)