Skip to content

Commit

Permalink
remove -lz from static linking on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jun 22, 2023
1 parent df92d96 commit 1461b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_test.yml
Expand Up @@ -78,7 +78,7 @@ jobs:
make -C src oct CC=gcc CXX=g++ MEXLDFLAG="-static"
otool -L zipmat.mex
else
make -C src oct CC=gcc CXX=g++ MEXLDFLAG="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lz -lpthread -lm -Wl,-Bdynamic"
make -C src oct CC=gcc CXX=g++ MEXLDFLAG="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -lm -Wl,-Bdynamic"
ldd zipmat.mex
fi
- name: Run octave test
Expand Down

0 comments on commit 1461b9b

Please sign in to comment.