diff options
Diffstat (limited to 'src/gallium/SConscript')
-rw-r--r-- | src/gallium/SConscript | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript index 9436b684e4e..207987bedc5 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -54,14 +54,22 @@ SConscript('winsys/sw/null/SConscript') SConscript('state_trackers/python/SConscript') if env['platform'] != 'embedded': - SConscript('state_trackers/glx/xlib/SConscript') - SConscript('state_trackers/dri/SConscript') - SConscript('state_trackers/xorg/SConscript') - SConscript('state_trackers/egl/SConscript') SConscript('state_trackers/vega/SConscript') + if env['x11']: + SConscript('state_trackers/glx/xlib/SConscript') + + if env['dri']: + SConscript('state_trackers/dri/SConscript') + + if env['dri'] and env['xorg']: + SConscript('state_trackers/xorg/SConscript') + if env['platform'] == 'windows': - SConscript('state_trackers/wgl/SConscript') + SConscript([ + 'state_trackers/egl/SConscript', + 'state_trackers/wgl/SConscript', + ]) # # Winsys |