summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-06 14:20:13 +0100
committerJosé Fonseca <[email protected]>2010-05-06 14:20:13 +0100
commitd5e741d6d8ebffefa2851677643c6a1aeeb1d431 (patch)
tree2caf239efe7c87a36bf6e2b188ec2fffb2038574 /src/gallium/targets/SConscript
parent2b322ad147a42ac0bf0f51bffab99e4d5650132d (diff)
graw-null: New target to ensure we always have a graw implementation available.
Diffstat (limited to 'src/gallium/targets/SConscript')
-rw-r--r--src/gallium/targets/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript
index 1292d4f6193..be5db88e41c 100644
--- a/src/gallium/targets/SConscript
+++ b/src/gallium/targets/SConscript
@@ -10,10 +10,13 @@ if 'gdi' in env['winsys']:
'libgl-gdi/SConscript',
])
-if 'graw-xlib' in env['winsys']:
+if env['platform'] == 'linux' and 'xlib' in env['winsys'] and 'graw-xlib' in env['winsys']:
SConscript([
'graw-xlib/SConscript',
])
+else:
+ SConscript('graw-null/SConscript')
+
if env['dri']:
SConscript([