cairo: always enable XCB support when X backend is enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Jan 2013 11:29:26 +0000 (11:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 12 Jan 2013 21:41:07 +0000 (22:41 +0100)
cairo depends on xlib_libX11 for its Xlib backend. But xlib_libX11
depends on XCB, so the XCB support can always be built into Cairo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/cairo/cairo.mk

index 41e876a4a0a7732a53d9af0f265f4d4fe1a3fce1..6cf910afa06d7888b49c0543dde9eb85ed04e677 100644 (file)
@@ -48,10 +48,10 @@ else
 endif
 
 ifeq ($(BR2_PACKAGE_XORG7),y)
-       CAIRO_CONF_OPT += --enable-xlib --with-x
+       CAIRO_CONF_OPT += --enable-xlib --enable-xcb --with-x
        CAIRO_DEPENDENCIES += xlib_libX11
 else
-       CAIRO_CONF_OPT += --disable-xlib --without-x
+       CAIRO_CONF_OPT += --disable-xlib --disable-xcb --without-x
 endif
 
 ifeq ($(BR2_PACKAGE_CAIRO_PS),y)