From b5bae3450c2970d0643d55467de0709bb0790940 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 28 Mar 2013 15:20:54 +0000 Subject: [PATCH] build: Make the X11 compositor explicitely depend on xcb-shm Otherwise, it means the X11 compositor depends on another library to pull xcb-shm (cairo?), which is not always the case. Here I end up with: [01:54:38.970] Failed to load module: $prefix/lib/weston/x11-backend.so: undefined symbol: xcb_shm_id --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 682e7a3d..355063d9 100644 --- a/configure.ac +++ b/configure.ac @@ -93,7 +93,7 @@ if test x$enable_x11_compositor = xyes; then LIBS=$xcb_save_LIBS CFLAGS=$xcb_save_CFLAGS - X11_COMPOSITOR_MODULES="x11 x11-xcb" + X11_COMPOSITOR_MODULES="x11 x11-xcb xcb-shm" PKG_CHECK_MODULES(X11_COMPOSITOR_XKB, [xcb-xkb], [have_xcb_xkb="yes"], [have_xcb_xkb="no"])