smack: needs kernel headers v3.0+
authorBaruch Siach <baruch@tkos.co.il>
Thu, 24 Apr 2014 08:56:19 +0000 (11:56 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 24 Apr 2014 09:11:04 +0000 (11:11 +0200)
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>
package/smack/Config.in

index 618a6807e17514e6e3406f9e719bfefd498a1ddd..55e9d2e694c3e7f859d333a97e3138e04f267498 100644 (file)
@@ -1,6 +1,7 @@
 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.
 
@@ -28,5 +29,6 @@ config BR2_PACKAGE_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