summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/cairo/Config.in1
-rw-r--r--package/cairo/cairo.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/cairo/Config.in b/package/cairo/Config.in
index 398e47fb6..4a2078eb3 100644
--- a/package/cairo/Config.in
+++ b/package/cairo/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_CAIRO
bool "cairo"
select BR2_PACKAGE_PIXMAN
select BR2_PACKAGE_FONTCONFIG
+ select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
help
Cairo is a 2D graphics library with support for multiple
output devices. Currently supported output targets include
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 59a032a32..41e876a4a 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -49,7 +49,7 @@ endif
ifeq ($(BR2_PACKAGE_XORG7),y)
CAIRO_CONF_OPT += --enable-xlib --with-x
- CAIRO_DEPENDENCIES += xserver_xorg-server
+ CAIRO_DEPENDENCIES += xlib_libX11
else
CAIRO_CONF_OPT += --disable-xlib --without-x
endif