summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2012-05-31 17:42:32 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-05-31 17:42:32 +0800
commit06337c05138c3921f3f524c16ef4de679bf7ccb2 (patch)
tree51c6b388dc94521bfe8dbba0c8a153eee6754207
parent620f1f873b4ae86c16e542e238406cb05159d659 (diff)
downloadmeta-selinux-06337c05138c3921f3f524c16ef4de679bf7ccb2.tar.gz
lsof: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-extended/lsof/lsof_4.85.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-extended/lsof/lsof_4.85.bbappend b/recipes-extended/lsof/lsof_4.85.bbappend
new file mode 100644
index 0000000..fe26bf4
--- /dev/null
+++ b/recipes-extended/lsof/lsof_4.85.bbappend
@@ -0,0 +1,7 @@
1PR .= ".1"
2
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
4
5do_configure_prepend() {
6 export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}"
7}