From 820e9abd1a7ccdb415d3f05f8a88e3d16c0e7abf Mon Sep 17 00:00:00 2001 From: Steven Verbeek Date: Tue, 17 Jul 2012 23:35:27 -0300 Subject: Changed to proper method --- 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 178f5df..7bc0bba 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -361,7 +361,7 @@ def msvc_find_valid_batch_script(env,version): # The TARGET_ARCH is amd64 then also try 32 bits if there are no viable # 64 bit tools installed try_target_archs = [target_platform] - if target_platform in ('amd64','x86_64') + if not target_platform and target_platform in ('amd64','x86_64') try_target_archs.append('x86') d = None -- cgit v0.12