use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exe
[libav.git] / compat / windows / mslink
1 #!/bin/sh
2
3 LINK_EXE_PATH=$(dirname "$(command -v cl)")/link
4 if [ -x "$LINK_EXE_PATH" ]; then
5     "$LINK_EXE_PATH" $@
6 else
7     link $@
8 fi
9 exit $?