package/fastd: propagate libcap dependency
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 14 Nov 2015 22:21:46 +0000 (23:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 14 Nov 2015 22:31:28 +0000 (23:31 +0100)
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fastd/Config.in

index 07118f3b30534ab4601432bf01f28129ed478654..4170ea10a8d5f20a249b72c79d67e956aa9ff565 100644 (file)
@@ -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