From 41341431634cecf0dfce181a2ef93153c90a17ee Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Tue, 24 Nov 2009 02:05:34 +0000 Subject: Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi. --- src/engine/SCons/Tool/MSCommon/vc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12