From a8480cc2ff14d49239df6ac36c3389a40517d281 Mon Sep 17 00:00:00 2001 From: Shawn Hoover Date: Wed, 9 Sep 2015 12:30:23 -0400 Subject: [PATCH] Fix to consolidate WinCE versions in the compiler versions list. --- waflib/Tools/msvc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index fcc969cf..3dbedccd 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -283,12 +283,12 @@ def gather_wince_supported_platforms(): path,device = os.path.split(path) if not device: path,device = os.path.split(path) + platforms = [] for arch,compiler in all_wince_platforms: - platforms = [] if os.path.isdir(os.path.join(path, device, 'Lib', arch)): platforms.append((arch, compiler, os.path.join(path, device, 'Include', arch), os.path.join(path, device, 'Lib', arch))) - if platforms: - supported_wince_platforms.append((device, platforms)) + if platforms: + supported_wince_platforms.append((device, platforms)) return supported_wince_platforms def gather_msvc_detected_versions():