Skip to contentSkip to conversation

package/fastd: propagate libcap dependency

PATCH New Yann E. MORIN 3 participants 3 messages Nov 14, 2015 – Nov 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fastd: propagate libcap dependency

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

---
 package/fastd/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/fastd/Config.in +4 -2
index 07118f3..4170ea1 100644
@@ -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
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 package/fastd: propagate libcap dependency

In reply to Yann E. MORIN

Hei hei,

Am 2015-11-14 23:21, schrieb Yann E. MORIN:

Quoted 5 lines

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

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

Greets
Alex

Signature · 4 lines
?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 ***