configure: added xcb to dri3 modules to pkg-conf
authorAndres Gomez <agomez@igalia.com>
Fri, 20 May 2016 13:54:35 +0000 (16:54 +0300)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 23 May 2016 09:21:34 +0000 (11:21 +0200)
This fixes a recent linking error in libvulkan_common

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
configure.ac

index 6eee2bca6ef4a65dea04a06698b5d00ffee17a9f..de62e8babce3e22ce4a88b0a2d965cea941f806a 100644 (file)
@@ -1319,7 +1319,7 @@ xdri)
 
             if test x"$enable_dri3" = xyes; then
                PKG_CHECK_EXISTS([xcb >= $XCB_REQUIRED], [], AC_MSG_ERROR([DRI3 requires xcb >= $XCB_REQUIRED]))
-               dri3_modules="xcb-dri3 xcb-present xcb-sync xshmfence >= $XSHMFENCE_REQUIRED"
+               dri3_modules="xcb xcb-dri3 xcb-present xcb-sync xshmfence >= $XSHMFENCE_REQUIRED"
                PKG_CHECK_MODULES([XCB_DRI3], [$dri3_modules])
             fi
         fi