summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 11:47:58 +0800
committerChia-I Wu <[email protected]>2010-05-31 13:27:41 +0800
commit1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 (patch)
treec9c14d9520bb4fce651652be3dba76342df46817 /src/gallium/targets/SConscript
parent0d820fc203e06d5264430de7262d2c35a8ff1e75 (diff)
egl: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
Diffstat (limited to 'src/gallium/targets/SConscript')
-rw-r--r--src/gallium/targets/SConscript17
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