Skip to content

Commit

Permalink
use objdump for windows to list dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 12, 2023
1 parent c5596f3 commit aedc145
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 @@ -88,13 +88,13 @@ jobs:
cd src
if [[ "$RUNNER_OS" == "Windows" ]]; then
make mex
ldd ../mmclab/mmc.mex*
objdump -p ../mmclab/mmc.mexw* | grep "DLL Name:"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
make mex CC=gcc-10 CXX=g++-10 MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp" EXTRALIB="-v -f mexopts_maci64_gcc.xml"
otool -L ../mmclab/mmc.mex*
else
make mex MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp" EXTRALIB="-v"
objdump -p ../mmclab/mmc.mexw* | grep "DLL Name:"
ldd ../mmclab/mmc.mex*
fi
- name: Build binary
run: |
Expand Down

0 comments on commit aedc145

Please sign in to comment.