summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-12 00:05:56 +0100
committerEmil Velikov <[email protected]>2014-09-05 23:17:59 +0100
commit17798bfb47fafdb1f6d3c7f128d5dff178db6071 (patch)
treea8a7a238eccf8eb6ef089e6cf46daa8972865c7c
parentda029f80818cf9cf5084473804b0faf2bc641775 (diff)
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 <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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)