From cf5cd836def660c1040d9f7a0a59aad1c69dbe37 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 11 Mar 2010 17:52:34 +0000 Subject: 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. --- SConstruct | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index f32e62f5fe..d9230bd904 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() -- cgit v1.2.3