From 17798bfb47fafdb1f6d3c7f128d5dff178db6071 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 12 Jul 2014 00:05:56 +0100 Subject: [PATCH] configure: check for core xcb and link libEGL against it 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c800f258eaf..e4778d8ef7e 100644 --- a/configure.ac +++ b/configure.ac @@ -1548,7 +1548,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)