Skip to content

Commit

Permalink
lib2
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 14, 2023
1 parent 67a9816 commit 4283e60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4283e60

Please sign in to comment.