From: Simon Dawson Date: Thu, 9 Aug 2012 11:00:09 +0000 (+0100) Subject: gdk-pixbuf: build x11 support, if appropriate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d27d40b0de526b4d395210067ae36a0513a29a77;p=buildroot.git gdk-pixbuf: build x11 support, if appropriate If libX11 is available, then gdk-pixbuf can be built with X11 support. Signed-off-by: Simon Dawson Signed-off-by: Thomas Petazzoni --- diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk index 751f499fee..0d9e20600a 100644 --- a/package/gdk-pixbuf/gdk-pixbuf.mk +++ b/package/gdk-pixbuf/gdk-pixbuf.mk @@ -34,6 +34,11 @@ else GDK_PIXBUF_DEPENDENCIES += tiff endif +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +GDK_PIXBUF_CONF_OPT += --with-x11 +GDK_PIXBUF_DEPENDENCIES += xlib_libX11 +endif + GDK_PIXBUF_DEPENDENCIES += \ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) \ $(if $(BR2_ENABLE_LOCALE),,libiconv) \