summaryrefslogtreecommitdiffstats
path: root/compat/windows/mslink
blob: 07b2b3e3787cdda7dfe5d902db931d124c46a29c (plain)
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 $@
fi
exit $?
OpenPOWER on IntegriCloud