From: garyo Date: Tue, 24 Nov 2009 02:05:34 +0000 (+0000) Subject: Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e09df4dd2aa48b6d6efe8dbe7a18a6ce040ab97b;p=scons.git Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4475 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index b7092387..bfb54f6c 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