From f9b2d2fea586f772551abbb675970b71b2fdf8c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 10 Jan 2012 17:42:02 +0000 Subject: [PATCH] scons: Fix libGL.so build. --- scons/gallium.py | 1 + src/glx/SConscript | 3 +++ 2 files changed, 4 insertions(+) diff --git a/scons/gallium.py b/scons/gallium.py index 3cebaf58dcf..221d1848f6d 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -507,6 +507,7 @@ def generate(env): createInstallMethods(env) env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes']) + env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx']) env.PkgCheckModules('XF86VIDMODE', ['xxf86vm']) env.PkgCheckModules('DRM', ['libdrm']) env.PkgCheckModules('DRM_INTEL', ['libdrm_intel']) diff --git a/src/glx/SConscript b/src/glx/SConscript index fc8ad771b1c..5e9d1ca56d3 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -24,6 +24,7 @@ env.Prepend(LIBS = [ ]) env.PkgUseModules('X11') +env.PkgUseModules('XCB') env.PkgUseModules('DRM') if env['HAVE_XF86VIDMODE']: @@ -35,8 +36,10 @@ if False: # XXX: SHARED_GLAPI sources = [ 'clientattrib.c', + 'create_context.c', 'compsize.c', 'eval.c', + 'glx_error.c', 'glxconfig.c', 'glxcmds.c', 'glxcurrent.c', -- 2.30.2