mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 21:54:16 +08:00
scons: Fix Cygwin platform names.
Fixes immediate Python exceptions with SCons on Cygwin.
This commit is contained in:
parent
8fb0ecd0cf
commit
100cd214e3
@ -81,7 +81,7 @@ def AddOptions(opts):
|
||||
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
|
||||
allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
|
||||
opts.Add(EnumOption('platform', 'target platform', host_platform,
|
||||
allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'embedded', 'cygwin', 'sunos5', 'freebsd8')))
|
||||
allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'embedded', 'cygwin_nt-5.1', 'cygwin_nt-6.1', 'sunos5', 'freebsd8')))
|
||||
opts.Add('toolchain', 'compiler toolchain', default_toolchain)
|
||||
opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))
|
||||
opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Import('*')
|
||||
|
||||
if env['platform'] in ('cygwin', 'linux'):
|
||||
if env['platform'] in ('cygwin_nt-5.1', 'cygwin_nt-6.1', 'linux'):
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user