From: stevenknight Date: Wed, 22 Sep 2004 02:29:27 +0000 (+0000) Subject: Make the linkloc tool use the value of to pick the version of MSVC. (Chris Pawling) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92af7d40b1d5c6ce8caf7ea2ec43f1d525b4918f;p=scons.git Make the linkloc tool use the value of to pick the version of MSVC. (Chris Pawling) git-svn-id: http://scons.tigris.org/svn/scons/trunk@1095 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/CHANGES.txt b/src/CHANGES.txt index cb61513c..dc1922b8 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 a5b2bdda..3c25760d 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