Skip to content

Commit

Permalink
add libz.a path
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 14, 2023
1 parent b1b1e6e commit 9d6509e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: |
cd src
if [[ "$RUNNER_OS" == "Windows" ]]; then
make mex LDFLAGS="-static-libstdc++ -static-libgcc -Wl,-Bstatic libzmat.a -lm -lz" EXTRALIB="-v"
make mex LDFLAGS="-static-libstdc++ -static-libgcc -Wl,-Bstatic libzmat.a -lm -Lc:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/lib -lz" EXTRALIB="-v"
objdump -p ../mmclab/mmc.mexw* | grep "DLL Name:"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
which mex
Expand All @@ -103,7 +103,7 @@ jobs:
make CC=gcc-10 CXX=g++-10
otool -L bin/mmc
else
make CC=gcc CXX=g++ USERARFLAGS="-static-libstdc++ -static-libgcc -Wl,-Bdynamic -lOpenCL -Wl,-Bstatic libzmat.a -lz"
make CC=gcc CXX=g++ USERARFLAGS="-static-libstdc++ -static-libgcc -Wl,-Bdynamic -lOpenCL -Wl,-Bstatic libzmat.a -Lc:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/lib -lz"
ldd bin/mmc
fi
- name: Create package folder
Expand Down

0 comments on commit 9d6509e

Please sign in to comment.