diff options
| author | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-11-24 02:05:34 (GMT) |
|---|---|---|
| committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-11-24 02:05:34 (GMT) |
| commit | 41341431634cecf0dfce181a2ef93153c90a17ee (patch) | |
| tree | fb81e9a00125a41de22ff8805a193e1746fd6022 /src/engine/SCons | |
| parent | fadb314844e753a7bad1c746e34a7b12ed41d232 (diff) | |
| download | SCons-41341431634cecf0dfce181a2ef93153c90a17ee.zip SCons-41341431634cecf0dfce181a2ef93153c90a17ee.tar.gz SCons-41341431634cecf0dfce181a2ef93153c90a17ee.tar.bz2 | |
Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi.
Diffstat (limited to 'src/engine/SCons')
| -rw-r--r-- | src/engine/SCons/Tool/MSCommon/vc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index b709238..bfb54f6 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -151,7 +151,7 @@ def is_host_target_supported(host_target, msvc_version): target), not that the toolchain is actually present on the machine. """ # We assume that any Visual Studio version supports x86 as a target - if host_target != "x86": + if host_target[1] != "x86": maj, min = msvc_version_to_maj_min(msvc_version) if maj < 8: return False |
