[Mesa-dev] [PATCH 2/3] configure: check for core xcb (libxcb.so) and link libEGL against it.
Emil Velikov
emil.l.velikov at gmail.com
Fri Jul 11 16:13:03 PDT 2014
Make sure to check the presence of the module in order to pick the
correct libs flag and before feeding them to the compiler/linker.
Current libEGL depends conditionally (when building with x11 platform)
upon xcb.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 53941d2..dd827be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1551,7 +1551,7 @@ for plat in $egl_platforms; do
;;
x11)
- PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb-dri2 >= $XCBDRI2_REQUIRED xcb-xfixes])
+ PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED xcb-xfixes])
;;
drm)
--
2.0.0
More information about the mesa-dev
mailing list