scons: Link libGL.so against xcb-dri2.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 16 Jun 2014 10:24:15 +0000 (11:24 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 16 Jun 2014 10:24:21 +0000 (11:24 +0100)
Fixing undefined xcb_dri2_* symbols.

Trivial.

scons/gallium.py

index 4c194aa9cfee4cd2ee589cad6105504791e2f9c9..e9153197110c318d1adaaa3e77ec048fb15ae779 100755 (executable)
@@ -588,7 +588,7 @@ def generate(env):
     createInstallMethods(env)
 
     env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes'])
-    env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1'])
+    env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])
     env.PkgCheckModules('XF86VIDMODE', ['xxf86vm'])
     env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])
     env.PkgCheckModules('UDEV', ['libudev >= 151'])