aboutsummaryrefslogtreecommitdiffstats
path: root/compat/windows/mslink
blob: 6cab090071da6646a33137d00faba333673dfed4 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

LINK_EXE_PATH=$(dirname "$(command -v cl)")/link
if [ -x "$LINK_EXE_PATH" ]; then
    "$LINK_EXE_PATH" $@
else
    link.exe $@
fi
exit $?