aboutsummaryrefslogtreecommitdiff
path: root/msvc-common
diff options
context:
space:
mode:
Diffstat (limited to 'msvc-common')
-rwxr-xr-xmsvc-common/msvc-cl-common2
-rwxr-xr-xmsvc-common/msvc-lib-common2
-rwxr-xr-xmsvc-common/msvc-link-common2
3 files changed, 3 insertions, 3 deletions
diff --git a/msvc-common/msvc-cl-common b/msvc-common/msvc-cl-common
index 833baec..4a5b79f 100755
--- a/msvc-common/msvc-cl-common
+++ b/msvc-common/msvc-cl-common
@@ -143,6 +143,6 @@ export LIB
# The linker may need to run mt.exe which is in the SDK.
#
-export WINEPATH="$VCBIN;$VCDLL;$SDKBIN"
+export WINEPATH="$VCBIN;$VCDLL;$SDKBIN;$WINEPATH"
msvc_exec $diag "$VCBIN\\cl.exe" "${args[@]}"
diff --git a/msvc-common/msvc-lib-common b/msvc-common/msvc-lib-common
index 5f8295a..a34039d 100755
--- a/msvc-common/msvc-lib-common
+++ b/msvc-common/msvc-lib-common
@@ -87,7 +87,7 @@ export LIB
# link.exe may need to run other tools (/LTCG).
#
-export WINEPATH="$VCBIN;$VCDLL;$SDKBIN"
+export WINEPATH="$VCBIN;$VCDLL;$SDKBIN;$WINEPATH"
# lib.exe always sends diagnostics to stdout.
#
diff --git a/msvc-common/msvc-link-common b/msvc-common/msvc-link-common
index 04f37d6..25d3949 100755
--- a/msvc-common/msvc-link-common
+++ b/msvc-common/msvc-link-common
@@ -175,7 +175,7 @@ export LIB
# link.exe may need to run mt.exe which is in the SDK.
#
-export WINEPATH="$VCBIN;$VCDLL;$SDKBIN"
+export WINEPATH="$VCBIN;$VCDLL;$SDKBIN;$WINEPATH"
# link.exe always sends diagnostics to stdout.
#