Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/fastd: propagate libcap dependency
@ 2015-11-14 22:21 Yann E. MORIN
  2015-11-14 22:31 ` Peter Korsgaard
  2015-11-16  7:55 ` Alexander Dahl
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2015-11-14 22:21 UTC (permalink / raw)
  To: buildroot

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(-)

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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/fastd: propagate libcap dependency
  2015-11-14 22:21 [Buildroot] [PATCH] package/fastd: propagate libcap dependency Yann E. MORIN
@ 2015-11-14 22:31 ` Peter Korsgaard
  2015-11-16  7:55 ` Alexander Dahl
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-11-14 22:31 UTC (permalink / raw)
  To: buildroot

>>>>> "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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/fastd: propagate libcap dependency
  2015-11-14 22:21 [Buildroot] [PATCH] package/fastd: propagate libcap dependency Yann E. MORIN
  2015-11-14 22:31 ` Peter Korsgaard
@ 2015-11-16  7:55 ` Alexander Dahl
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Dahl @ 2015-11-16  7:55 UTC (permalink / raw)
  To: buildroot

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

-- 
?With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.? (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-16  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14 22:21 [Buildroot] [PATCH] package/fastd: propagate libcap dependency Yann E. MORIN
2015-11-14 22:31 ` Peter Korsgaard
2015-11-16  7:55 ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox