diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-05-31 17:42:32 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-05-31 17:42:32 +0800 |
commit | 06337c05138c3921f3f524c16ef4de679bf7ccb2 (patch) | |
tree | 51c6b388dc94521bfe8dbba0c8a153eee6754207 | |
parent | 620f1f873b4ae86c16e542e238406cb05159d659 (diff) | |
download | meta-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.bbappend | 7 |
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 @@ | |||
1 | PR .= ".1" | ||
2 | |||
3 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" | ||
4 | |||
5 | do_configure_prepend() { | ||
6 | export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}" | ||
7 | } | ||