Skip to content

Commit e0f6fc3

Browse files
committed
Spray our junk all over the CI server
1 parent 2d260c8 commit e0f6fc3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.sh

+10
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,16 @@ if [ -n "$LIBGIT2_VERSION" ]; then
183183
fi
184184

185185
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
186196
# we're done building dependencies, cibuildwheel action will take over
187197
exit 0
188198
fi

0 commit comments

Comments
 (0)