diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-10-26 19:25:15 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-27 01:03:20 +0100 |
commit | a759931c9b0cb4337dc30fd35d03ce123271c5a4 (patch) | |
tree | 26b3d95bc586e36752e0d10f01a6328bb880a84f /package/libcap | |
parent | e6debc2e078d06e0ac177a882d9f4268f5b37077 (diff) |
package/libcap: Fix build error with kernel headers < 3.6
Fixes
http://autobuild.buildroot.net/results/cce/cceb1ccacec36fb7ef41bb7cdb13b3014813b599/
XATTR_NAME_CAPS appears in kernel headers since 3.7:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/include/uapi/linux/xattr.h?id=v3.7
Before it was an internal define of the kernel:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libcap')
-rw-r--r-- | package/libcap/Config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libcap/Config.in b/package/libcap/Config.in index 5b0c82719..a0199284e 100644 --- a/package/libcap/Config.in +++ b/package/libcap/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBCAP bool "libcap" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 help This library implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These @@ -22,3 +23,6 @@ config BR2_PACKAGE_LIBCAP_TOOLS CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2). endif + +comment "libcap needs headers >= 3.7" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 |