summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/SConscript
diff options
context:
space:
mode:
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([