diff options
author | José Fonseca <[email protected]> | 2012-01-10 17:42:02 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-01-10 17:42:02 +0000 |
commit | f9b2d2fea586f772551abbb675970b71b2fdf8c9 (patch) | |
tree | f7e9872e0e0cff65f8c28a2528e832094096d7c6 | |
parent | 8fe6755ed52acfb88a7a787c3406b64fcdd80e6e (diff) |
scons: Fix libGL.so build.
-rwxr-xr-x | scons/gallium.py | 1 | ||||
-rw-r--r-- | src/glx/SConscript | 3 |
2 files changed, 4 insertions, 0 deletions
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', |