diff options
-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', |