diff options
-rw-r--r-- | meta-oe/recipes-graphics/xorg-lib/libx11.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xorg-lib/libx11.inc b/meta-oe/recipes-graphics/xorg-lib/libx11.inc index 2aa9700f2..9f7e990ef 100644 --- a/meta-oe/recipes-graphics/xorg-lib/libx11.inc +++ b/meta-oe/recipes-graphics/xorg-lib/libx11.inc | |||
@@ -45,3 +45,8 @@ do_compile_prepend() { | |||
45 | cd ../../ | 45 | cd ../../ |
46 | ) || exit 1 | 46 | ) || exit 1 |
47 | } | 47 | } |
48 | |||
49 | python () { | ||
50 | if not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d): | ||
51 | raise bb.parse.SkipPackage("X11 not enabled for this DISTRO") | ||
52 | } | ||