mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
e6debc2e07
commit
a759931c9b
@@ -1,12 +1,14 @@
|
||||
comment "squid needs a toolchain w/ C++, IPv6"
|
||||
comment "squid needs a toolchain w/ C++, IPv6, headers >= 3.7"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_avr32 # toolchain too old
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6 || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
|
||||
config BR2_PACKAGE_SQUID
|
||||
bool "squid"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_INET_IPV6
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # libcap
|
||||
# needs fork()
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
|
||||
Reference in New Issue
Block a user