diff options
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index eb4cd3c7c9f..c25adc7280f 100644 --- a/src/SConscript +++ b/src/SConscript @@ -33,7 +33,8 @@ if not env['embedded']: if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'): SConscript('glx/SConscript') if env['platform'] not in ['darwin', 'haiku', 'sunos']: - SConscript('egl/drivers/dri2/SConscript') + if env['dri']: + SConscript('egl/drivers/dri2/SConscript') SConscript('egl/main/SConscript') if env['platform'] == 'haiku': SConscript('egl/drivers/haiku/SConscript') |