Skip to content

Commit 245b930

Browse files
committed
bundle libs
1 parent 48a512d commit 245b930

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,14 @@ jobs:
7878
LDFLAGS=-L${{ env.GEO_DIR }}/lib
7979
LD_LIBRARY_PATH=${{ env.GEO_DIR }}/lib:$LD_LIBRARY_PATH
8080
LIBRARY_PATH=${{ env.GEO_DIR }}/lib:$LIBRARY_PATH
81+
8182
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
82-
auditwheel repair --lib-sdir .libs
83-
-w {dest_dir} {wheel} &&
84-
ls -l {dest_dir}/*.whl &&
85-
ls -l {dest_dir}/.libs/
83+
mkdir -p {dest_dir}/.libs &&
84+
cp ${{ env.GEO_DIR }}/lib/libgeos*.so* {dest_dir}/.libs/ &&
85+
auditwheel repair
86+
--lib-sdir .libs
87+
-w {dest_dir}
88+
{wheel}
8689
CIBW_TEST_COMMAND: >
8790
cd {project} &&
8891
pip install pytest pytest-cov &&

0 commit comments

Comments
 (0)