summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-11 17:52:34 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-31 18:40:10 +0100
commitcf5cd836def660c1040d9f7a0a59aad1c69dbe37 (patch)
tree373946439c44e578f164689bd99fb9f0a2f940a1 /SConstruct
parent6047c89a2309f09a738912280e49db54ba2b2b60 (diff)
scons: Don't always include/links X11 headers/libs.
Move it into a separate tool. TODO: Needs to be "tooled" in each SConscript that uses it.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct12
1 files changed, 0 insertions, 12 deletions
diff --git a/SConstruct b/SConstruct
index f32e62f5fe1..d9230bd9041 100644
--- a/SConstruct
+++ b/SConstruct
@@ -159,8 +159,6 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'):
])
if platform == 'darwin':
env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE'])
- env.Append(CPPPATH = ['/usr/X11R6/include'])
- env.Append(LIBPATH = ['/usr/X11R6/lib'])
env.Append(LIBS = [
'm',
'pthread',
@@ -181,16 +179,6 @@ if dri:
if drawllvm:
env.Append(CPPDEFINES = ['DRAW_LLVM'])
-# libGL
-if platform in ('linux', 'freebsd', 'darwin'):
- env.Append(LIBS = [
- 'X11',
- 'Xext',
- 'Xxf86vm',
- 'Xdamage',
- 'Xfixes',
- ])
-
# for debugging
#print env.Dump()