From b0e0ca4e60483b76383ae3575ef39423fda608d6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 29 Jul 2016 18:14:06 +0200 Subject: Use 64-to-32 cross compiler for VC 12 and 14 32-bit link.exe hangs with /DEBUG. --- msvc-lib-common | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'msvc-lib-common') 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[@]}" -- cgit v1.1