diff mbox

package/fastd: propagate libcap dependency

Message ID 1447539706-15504-1-git-send-email-yann.morin.1998@free.fr
State Accepted
Commit 40b29611dbc6518d4e3bb99c00823ea0a123466c
Headers show

Commit Message

Yann E. MORIN Nov. 14, 2015, 10:21 p.m. UTC
libcap neds headers >= 3.0, so propagate that down to fastd which
selects libcap.

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

Comments

Peter Korsgaard Nov. 14, 2015, 10:31 p.m. UTC | #1
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

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

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Cc: Alexander Dahl <post@lespocky.de>

Committed, thanks.
Alexander Dahl Nov. 16, 2015, 7:55 a.m. UTC | #2
Hei hei, 

Am 2015-11-14 23:21, schrieb Yann E. MORIN:
> libcap neds headers >= 3.0, so propagate that down to fastd which
> selects libcap.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Alexander Dahl <post@lespocky.de>

Still compiles for me with x86 and RPi configs. Thanks guys for tracking
down those dependencies. :-)

Greets
Alex
diff mbox

Patch

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