[Mesa-dev] [PATCH] scons: fix libGL build

Roland Scheidegger sroland at vmware.com
Fri Jan 13 12:20:56 PST 2012


Enough to get it to work though I guess the libs should be added somewhere
else (gallium.py? x11.py?)
---
 src/glx/SConscript |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/glx/SConscript b/src/glx/SConscript
index fc8ad77..7cbb170 100644
--- a/src/glx/SConscript
+++ b/src/glx/SConscript
@@ -35,11 +35,14 @@ if False: # XXX: SHARED_GLAPI
 
 sources = [
     'clientattrib.c',
+    'clientinfo.c',
     'compsize.c',
+    'create_context.c',
     'eval.c',
     'glxconfig.c',
     'glxcmds.c',
     'glxcurrent.c',
+    'glx_error.c',
     'glxext.c',
     'glxextensions.c',
     'indirect_glx.c',
@@ -80,3 +83,9 @@ libgl = env.InstallSharedLibrary(libgl, version=(1, 2))
 
 env.Alias('glx', libgl)
 env.Alias('libgl', libgl)
+
+env.Append(LIBS = [
+        'xcb-glx',
+        'X11-xcb',
+    ])
+
-- 
1.7.1



More information about the mesa-dev mailing list