summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-08-09 12:00:09 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-11 20:23:31 +0200
commitd27d40b0de526b4d395210067ae36a0513a29a77 (patch)
treeed5beea181fe81149dc8907c412915854e733805
parent663a1b6241b2dcae87427eff72fba9ae3fbf8d80 (diff)
downloadbuildroot-novena-d27d40b0de526b4d395210067ae36a0513a29a77.tar.gz
buildroot-novena-d27d40b0de526b4d395210067ae36a0513a29a77.zip
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 <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gdk-pixbuf/gdk-pixbuf.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index 751f499fe..0d9e20600 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) \