[PATCH] build: Make the X11 compositor explicitely depend on xcb-shm

Kristian Høgsberg hoegsberg at gmail.com
Thu Mar 28 09:19:11 PDT 2013


On Thu, Mar 28, 2013 at 03:20:54PM +0000, Damien Lespiau wrote:
> 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(-)

Thanks Damien, committed.

Kristian

> diff --git a/configure.ac b/configure.ac
> index 682e7a3..355063d 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"])
> -- 
> 1.8.1.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list