aboutsummaryrefslogtreecommitdiff
path: root/msvc-lib-common
diff options
context:
space:
mode:
Diffstat (limited to 'msvc-lib-common')
-rwxr-xr-xmsvc-lib-common4
1 files changed, 4 insertions, 0 deletions
diff --git a/msvc-lib-common b/msvc-lib-common
index 4cd1c51..e533829 100755
--- a/msvc-lib-common
+++ b/msvc-lib-common
@@ -90,6 +90,10 @@ done
export LIB
+# link.exe may need to run other tools (/LTCG).
+#
+export WINEPATH="$VCBIN;$VCDLL;$SDKBIN"
+
# lib.exe always sends diagnostics to stdout.
#
msvc_exec 1 "$VCBIN\\lib.exe" "${args[@]}"