We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d260c8 commit e0f6fc3Copy full SHA for e0f6fc3
build.sh
@@ -183,6 +183,16 @@ if [ -n "$LIBGIT2_VERSION" ]; then
183
fi
184
185
if [ "$CIBUILDWHEEL" = "1" ]; then
186
+ # This is gross. auditwheel/delocate-wheel are not so good
187
+ # at finding libraries in random places, so we have to
188
+ # put them in the loader path.
189
+ if [ "$KERNEL" = "Darwin" ]; then
190
+ cp -r $OPENSSL_PREFIX/*.dylib /usr/local/lib
191
+ cp -r $LIBSSH2_PREFIX/lib/*.dylib /usr/local/lib
192
+ cp -r $FILENAME/*.dylib /usr/local/lib
193
+ else
194
+ cp -r $PREFIX/lib*/*.so /usr/local/lib
195
+ fi
196
# we're done building dependencies, cibuildwheel action will take over
197
exit 0
198
0 commit comments