aboutsummaryrefslogtreecommitdiff
path: root/msvc-lib-common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-29 18:14:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-29 18:14:06 +0200
commitb0e0ca4e60483b76383ae3575ef39423fda608d6 (patch)
treea246d666a5fd74a04b5ad6dae8422ad563840600 /msvc-lib-common
parent9f6facd4f3bcc3b7f522c74616c184d7b8cdbfb4 (diff)
Use 64-to-32 cross compiler for VC 12 and 14
32-bit link.exe hangs with /DEBUG.
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[@]}"