From c54472c66bfbeff59ed78e76b0b59db0e3441285 Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Wed, 15 Jul 2015 18:58:08 -0700 Subject: [PATCH] libcap: control attr PACKAGECONFIG via xattr DISTRO feature (From OE-Core rev: 67a588a11998068b3a7dd38d46382d0c2990ea93) Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-support/libcap/libcap_2.24.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"