aboutsummaryrefslogtreecommitdiff
path: root/msvc-common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-16 14:11:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-16 14:11:48 +0200
commit2caa88392c4db47d77b83d767abed4e5d15bf3ee (patch)
treea910a8e8c4e60b98eb0f8c4cb420c5b03565bdfb /msvc-common
parent1e9c3d01783d0c4c8f4d38baa662fa2b836a710b (diff)
Keep existing value when modifying WINEPATH
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.
#