From d9f239cb962af2b387b29a0cbdb3df41cdbd201b Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sat, 24 Jun 2023 10:19:50 -0400 Subject: [PATCH] static link zlib again --- .github/workflows/run_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 8cb3fed..995e7ce 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -79,7 +79,7 @@ jobs: make -C src oct CC=gcc CXX=g++ MEXLINKOPT="-static" otool -L zipmat.mex else - make -C src oct CC=gcc CXX=g++ MEXLINKOPT="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lm -lpthread -Wl,-Bdynamic" + make -C src oct CC=gcc CXX=g++ MEXLINKOPT="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lm -lz -lpthread -Wl,-Bdynamic" ldd zipmat.mex fi strip -S zipmat.mex