[oe-commits] Andre McCurdy : libcap: control attr PACKAGECONFIG via xattr DISTRO feature
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 20 09:42:09 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 67a588a11998068b3a7dd38d46382d0c2990ea93
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=67a588a11998068b3a7dd38d46382d0c2990ea93
Author: Andre McCurdy <armccurdy at gmail.com>
Date: Wed Jul 15 18:58:08 2015 -0700
libcap: control attr PACKAGECONFIG via xattr DISTRO feature
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
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 161bb70..36b94ee 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"
More information about the Openembedded-commits
mailing list