diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
commit | a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5 (patch) | |
tree | e0e0d0df134f2f47857e0a202e6ea95e78552889 /src/engine/SCons/Tool/linkloc.py | |
parent | 6f708d0ca8b7f61a1d7ba98a945e32b25417952d (diff) | |
download | SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.zip SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.gz SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.bz2 |
Win32 portability fixes for tests.
Diffstat (limited to 'src/engine/SCons/Tool/linkloc.py')
-rw-r--r-- | src/engine/SCons/Tool/linkloc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/linkloc.py b/src/engine/SCons/Tool/linkloc.py index 3c25760..867b788 100644 --- a/src/engine/SCons/Tool/linkloc.py +++ b/src/engine/SCons/Tool/linkloc.py @@ -94,7 +94,8 @@ def generate(env): env['LIBLINKPREFIX']='-lib ' env['LIBLINKSUFFIX']='$LIBSUFFIX' - include_path, lib_path, exe_path = get_msvc_paths(env['MSVS_VERSION']) + msvs_version = env.get('MSVS_VERSION') + include_path, lib_path, exe_path = get_msvc_paths(msvs_version) env['ENV']['LIB'] = lib_path env['ENV']['PATH'] = exe_path |