diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-22 02:29:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-22 02:29:27 (GMT) |
commit | ad2054a73a713f488a935821c6a5b807a7d15007 (patch) | |
tree | 03774eb0b26baefcd560a2a1d5cd41c463712afc | |
parent | d60db4dff09a0bafb320bf75095090ff368a5272 (diff) | |
download | SCons-ad2054a73a713f488a935821c6a5b807a7d15007.zip SCons-ad2054a73a713f488a935821c6a5b807a7d15007.tar.gz SCons-ad2054a73a713f488a935821c6a5b807a7d15007.tar.bz2 |
Make the linkloc tool use the value of to pick the version of MSVC. (Chris Pawling)
-rw-r--r-- | src/CHANGES.txt | 5 | ||||
-rw-r--r-- | src/engine/SCons/Tool/linkloc.py | 2 |
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 |