aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-03-06 17:29:32 -0800
committerArmin Kuster <akuster808@gmail.com>2018-03-12 09:59:33 -0700
commit44ece3daea4028e72473b6316ba3c7c54d833166 (patch)
tree21d950baddc27ab2c2c7373b1347d67cbf8fbbcd /meta-oe/recipes-core
parent0055684612edddae0f041e984c8497c5e5b32e74 (diff)
downloadmeta-openembedded-44ece3daea4028e72473b6316ba3c7c54d833166.tar.gz
libxml++: only include when x11 in DISTRO_FEATURES
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/libxml/libxml++_2.40.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
index c001c184cb..c3d647cd9c 100644
--- a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
+++ b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
@@ -16,7 +16,9 @@ SRC_URI[sha256sum] = "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f3
DEPENDS = "libxml2 glibmm"
-inherit autotools pkgconfig ptest
+inherit distro_features_check autotools pkgconfig ptest
+
+REQUIRED_DISTRO_FEATURES = "x11"
do_compile_ptest() {
oe_runmake -C examples buildtest