summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt5
-rw-r--r--src/engine/SCons/Tool/linkloc.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index cb61513..dc1922b 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -89,6 +89,11 @@ RELEASE 0.97 - XXX
- Print an internal Python stack trace in response to an otherwise
unexplained error when --debug=stacktrace is specified.
+ From Chris Pawling:
+
+ - Have the linkloc tool use $MSVS_VERSION to select the Microsoft
+ Visual Studio version to use.
+
From Kevin Quick:
- Fix the Builder name returned from ListBuilders and other instances
diff --git a/src/engine/SCons/Tool/linkloc.py b/src/engine/SCons/Tool/linkloc.py
index a5b2bdd..3c25760 100644
--- a/src/engine/SCons/Tool/linkloc.py
+++ b/src/engine/SCons/Tool/linkloc.py
@@ -94,7 +94,7 @@ def generate(env):
env['LIBLINKPREFIX']='-lib '
env['LIBLINKSUFFIX']='$LIBSUFFIX'
- include_path, lib_path, exe_path = get_msvc_paths()
+ include_path, lib_path, exe_path = get_msvc_paths(env['MSVS_VERSION'])
env['ENV']['LIB'] = lib_path
env['ENV']['PATH'] = exe_path