[Buildroot] [git commit] package/fastd: propagate libcap dependency

Peter Korsgaard peter at korsgaard.com
Sat Nov 14 22:31:28 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=40b29611dbc6518d4e3bb99c00823ea0a123466c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libcap neds headers >= 3.0, so propagate that down to fastd which
selects libcap.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Alexander Dahl <post at lespocky.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/fastd/Config.in |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/fastd/Config.in b/package/fastd/Config.in
index 07118f3..4170ea1 100644
--- a/package/fastd/Config.in
+++ b/package/fastd/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_FASTD
 	bool "fastd"
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
 	select BR2_PACKAGE_LIBUECC
 	select BR2_PACKAGE_LIBSODIUM
 	select BR2_PACKAGE_LIBCAP
@@ -21,6 +22,7 @@ config BR2_PACKAGE_FASTD_STATUS_SOCKET
 
 endif
 
-comment "fastd needs a toolchain w/ threads"
+comment "fastd needs a toolchain w/ threads, headers >= 3.0"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS \
+		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0


More information about the buildroot mailing list