summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-07-15 18:58:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-20 10:38:59 +0100
commit67a588a11998068b3a7dd38d46382d0c2990ea93 (patch)
treeefb1e342f08df2fd6efc53a7fbe9207157a8d26c /meta/recipes-support/libcap
parent974c8266b30ae114ab331f0ce39fd0fcf4868f1a (diff)
downloadopenembedded-core-67a588a11998068b3a7dd38d46382d0c2990ea93.tar.gz
openembedded-core-67a588a11998068b3a7dd38d46382d0c2990ea93.tar.bz2
openembedded-core-67a588a11998068b3a7dd38d46382d0c2990ea93.zip
libcap: control attr PACKAGECONFIG via xattr DISTRO feature
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libcap')
-rw-r--r--meta/recipes-support/libcap/libcap_2.24.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.24.bb b/meta/recipes-support/libcap/libcap_2.24.bb
index 161bb702c3..36b94ee74f 100644
--- a/meta/recipes-support/libcap/libcap_2.24.bb
+++ b/meta/recipes-support/libcap/libcap_2.24.bb
@@ -26,7 +26,8 @@ do_configure() {
sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile
}
-PACKAGECONFIG ??= "attr ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
PACKAGECONFIG_class-native ??= ""
PACKAGECONFIG[attr] = "LIBATTR=yes,LIBATTR=no,attr"