[oe] [meta-oe][PATCH 04/25] fltk: only include when x11 in DISTRO_FEATURES

Armin Kuster akuster808 at gmail.com
Wed Mar 7 04:03:07 UTC 2018


Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-support/fltk/fltk.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/fltk/fltk.bb b/meta-oe/recipes-support/fltk/fltk.bb
index 6a3d1c9..0d3653b 100644
--- a/meta-oe/recipes-support/fltk/fltk.bb
+++ b/meta-oe/recipes-support/fltk/fltk.bb
@@ -2,7 +2,8 @@ require ${BPN}.inc
 
 DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
 
-inherit binconfig lib_package gtk-icon-cache mime
+inherit distro_features_check binconfig lib_package gtk-icon-cache mime
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch"
 
-- 
2.7.4




More information about the Openembedded-devel mailing list