summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/xorg-lib/libx11.inc5
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
49python () {
50 if not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
51 raise bb.parse.SkipPackage("X11 not enabled for this DISTRO")
52}