mesa builds a host utility named builtin_compiler,
and that needs selinux, too, if --enable-selinux is
specfied to configure.

Signed-off-by: Joe Slater <jsla...@windriver.com>
---
 recipes-graphics/mesa/mesa_9.1.6.bbappend |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-graphics/mesa/mesa_9.1.6.bbappend 
b/recipes-graphics/mesa/mesa_9.1.6.bbappend
index 8c11cac..0004f71 100644
--- a/recipes-graphics/mesa/mesa_9.1.6.bbappend
+++ b/recipes-graphics/mesa/mesa_9.1.6.bbappend
@@ -1 +1,6 @@
 inherit enable-selinux
+
+# But wait!  There's more!  mesa builds a host program named builtin_compiler
+# and it needs selinux, too.  We replace the PACKAGECONFIG[] in the bbclass.
+#
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux 
libselinux-native,"
-- 
1.7.9.5

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to