From: Andre McCurdy Date: Thu, 16 Jul 2015 01:58:08 +0000 (-0700) Subject: libcap: control attr PACKAGECONFIG via xattr DISTRO feature X-Git-Tag: 2015-10~1180 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=67a588a11998068b3a7dd38d46382d0c2990ea93;p=openembedded-core.git libcap: control attr PACKAGECONFIG via xattr DISTRO feature Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- 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"