smack uses symbols that are exported to userspace only since Linux kernel
commit
1dbe39424a43 (xattr.h: expose string defines to userspace).
Fixes:
http://autobuild.buildroot.net/results/7fc/
7fc69002fbb37962e65e0f83384ae7a4e6eac8a9/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
config BR2_PACKAGE_SMACK
bool "smack"
depends on !BR2_PREFER_STATIC_LIB # dlfcn.h
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
User space programs and libraries for SMACK.
https://github.com/smack-team/smack
-comment "smack needs a toolchain w/ dynamic library"
+comment "smack needs a toolchain w/ dynamic library, headers >= 3.0"
depends on BR2_PREFER_STATIC_LIB
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0