From d1e9927ba145036cb56d7512026df1a8c21a85dd Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 2 Sep 2016 14:55:27 +0300 Subject: gtk+3: disable gtk-doc when x11 is not available gtk-doc requires gdk/x11/gdkx.h which is not available if gdk x11 backend is disabled (due to jku's patch). Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk+/gtk+3.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 132955797c..83e9b927b0 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc @@ -32,6 +32,7 @@ EXTRA_OECONF += " \ --disable-cups \ --disable-colord \ WAYLAND_PROTOCOLS_SYSROOT_DIR=${STAGING_DIR}/${MACHINE} \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \ " EXTRA_OECONF[vardepsexclude] = "MACHINE" -- cgit 1.2.3-korg