diff options
-rwxr-xr-x | compat/windows/mslink | 9 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/compat/windows/mslink b/compat/windows/mslink new file mode 100755 index 0000000..07b2b3e --- /dev/null +++ b/compat/windows/mslink @@ -0,0 +1,9 @@ +#!/bin/sh + +LINK_EXE_PATH=$(dirname "$(command -v cl)")/link +if [ -x "$LINK_EXE_PATH" ]; then + "$LINK_EXE_PATH" $@ +else + link $@ +fi +exit $? @@ -2633,7 +2633,7 @@ case "$toolchain" in else cc_default="c99wrap cl" fi - ld_default="link" + ld_default="$source_path/compat/windows/mslink" nm_default="dumpbin -symbols" ar_default="lib" target_os_default="win32" |