From a08dec2efefcb0da4d0ec0071545c30c60fa9008 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 14 Nov 2023 19:31:21 +1100 Subject: [PATCH] lib2 --- .github/workflows/wheels-dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels-dependencies.sh b/.github/workflows/wheels-dependencies.sh index 79f98f04c7f..8321139db11 100755 --- a/.github/workflows/wheels-dependencies.sh +++ b/.github/workflows/wheels-dependencies.sh @@ -81,7 +81,6 @@ function build { if [ -f /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc ]; then cp /Library/Frameworks/Python.framework/Versions/Current/share/pkgconfig/xcb-proto.pc /Library/Frameworks/Python.framework/Versions/Current/lib/pkgconfig fi - cp /Users/runner/hostedtoolcache/Python/*/x64/lib/libxcb.dylib /usr/local/lib else sed s/\${pc_sysrootdir\}// /usr/local/share/pkgconfig/xcb-proto.pc > /usr/local/lib/pkgconfig/xcb-proto.pc fi @@ -90,6 +89,8 @@ function build { mkdir -p /usr/local/include/xcb cp libxcb-$LIBXCB_VERSION/src/xcb.h /usr/local/include/xcb/xcb.h + cp /Users/runner/hostedtoolcache/Python/*/x64/lib/libxcb.dylib /usr/local/lib + BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH fi