summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-10 02:00:33 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-11 17:17:34 +0900
commit9fc93b80413d63aeb08b5a17602d111ed3899faf (patch)
tree34a42545a0bd567fbdfc8cb44301031b6a7db240 /SConstruct
parent9faf9529f38e1b22550f4910ea863391bfa02436 (diff)
scons: Use libdrm options only where needed.
Prevents needless recompiles when switching dri=yes to no.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 0 insertions, 10 deletions
diff --git a/SConstruct b/SConstruct
index 56d88cc1cc..8b7ae7d112 100644
--- a/SConstruct
+++ b/SConstruct
@@ -167,16 +167,6 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'):
'dl',
])
-# DRI
-if dri:
- env.ParseConfig('pkg-config --cflags --libs libdrm')
- env.Append(CPPDEFINES = [
- ('USE_EXTERNAL_DXTN_LIB', '1'),
- 'IN_DRI_DRIVER',
- 'GLX_DIRECT_RENDERING',
- 'GLX_INDIRECT_RENDERING',
- ])
-
# LLVM support in the Draw module
if drawllvm:
env.Append(CPPDEFINES = ['DRAW_LLVM'])