[yocto] [meta-selinux][PATCH 1/1] libsemanage: fix DEPENDS override issue

wenzong.fan at windriver.com wenzong.fan at windriver.com
Wed Jan 22 00:02:38 PST 2014


From: Wenzong Fan <wenzong.fan at windriver.com>

Don't override DEPENDS for target build, the "audit" should be appended
to it.

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 recipes-security/selinux/libsemanage.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc
index 9424358..5e90c26 100644
--- a/recipes-security/selinux/libsemanage.inc
+++ b/recipes-security/selinux/libsemanage.inc
@@ -11,7 +11,7 @@ LICENSE = "LGPLv2.1+"
 inherit lib_package
 
 DEPENDS += "libsepol libselinux ustr bzip2 python bison-native flex-native"
-DEPENDS_class-target += "audit"
+DEPENDS_append_class-target += "audit"
 
 PACKAGES += "${PN}-python"
 FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
-- 
1.7.9.5




More information about the yocto mailing list