summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2014-12-24 07:44:25 -0600
committerAlexander von Gluck IV <kallisti5@unixzen.com>2014-12-25 10:34:49 -0500
commit890ef622d63cb1caa3f84dd04dc2442324e2b0f2 (patch)
treec6a0a83f4e70a0911710f3c255434d40ac7207ea /src/SConscript
parentb3057f8097f88d9072df6d9c09bcc8c039b88a7c (diff)
egl: Fix non-dri SCons builds re #87657
* Revert change to egl main producing Shared Libraries * Check for dri before including dri code
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index eb4cd3c7c9..c25adc7280 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')