diff options
author | Chia-I Wu <[email protected]> | 2010-05-31 11:47:58 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-05-31 13:27:41 +0800 |
commit | 1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 (patch) | |
tree | c9c14d9520bb4fce651652be3dba76342df46817 /src/gallium/targets | |
parent | 0d820fc203e06d5264430de7262d2c35a8ff1e75 (diff) |
egl: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/SConscript | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript index 9077cbf6a45..519dbff7fd3 100644 --- a/src/gallium/targets/SConscript +++ b/src/gallium/targets/SConscript @@ -3,15 +3,16 @@ Import('*') # Compatibility with old build scripts: # -if 'xlib' in env['winsys']: - SConscript([ - 'libgl-xlib/SConscript', - ]) +if 'mesa' in env['statetrackers']: + if 'xlib' in env['winsys']: + SConscript([ + 'libgl-xlib/SConscript', + ]) -if 'gdi' in env['winsys']: - SConscript([ - 'libgl-gdi/SConscript', - ]) + if 'gdi' in env['winsys']: + SConscript([ + 'libgl-gdi/SConscript', + ]) if not 'graw-xlib' in env['targets'] and not env['msvc']: # XXX: disable until MSVC can link correctly |