summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-02-24 19:49:37 -0800
committerVinson Lee <vlee@vmware.com>2011-02-24 19:49:37 -0800
commiteb1780238621c7be0342d9129eb639e4892c004d (patch)
treeff2e5bc4d6f94b9d86d9485815946aecbbf75670 /src
parentb2413de91682e3908d8ab1635956a290f603681c (diff)
scons: Reduce all Cygwin platform names to 'cygwin'.
platform.system in SCons on Cygwin includes the OS version number. Windows XP - CYGWIN_NT-5.1 Windows Vista - CYGWIN_NT-6.0 Windows 7 - CYGWIN_NT-6.1 Reduce all Cygwin platform variants to just 'cygwin' so anything downstream can simply use 'cygwin' instead of the different full platform names.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/sw/xlib/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/xlib/SConscript b/src/gallium/winsys/sw/xlib/SConscript
index f6c4741183..df01a9ec2b 100644
--- a/src/gallium/winsys/sw/xlib/SConscript
+++ b/src/gallium/winsys/sw/xlib/SConscript
@@ -4,7 +4,7 @@
Import('*')
-if env['platform'] in ('cygwin_nt-5.1', 'cygwin_nt-6.1', 'linux'):
+if env['platform'] in ('cygwin', 'linux'):
env = env.Clone()