diff --git a/.github/workflows/wheels-dependencies.sh b/.github/workflows/wheels-dependencies.sh index e5f54cc7d00..7a763860d67 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 /Library/Frameworks/Python.framework/Versions/*/lib/libxcb.dylib /usr/local/lib + BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH fi