diff options
author | Alexander Clouter <alex+buildroot@digriz.org.uk> | 2015-01-18 14:23:20 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-26 23:33:40 +0100 |
commit | f4aec35bf9c16fe94501b5ce5dca9e10be4495b1 (patch) | |
tree | 5ba29d8c8fa51bbf5276b2d461a8e171799ed572 /package/nftables | |
parent | 66d3cce7056c8996329c1aab6a71602bd8b37159 (diff) |
libnftl: loosen threads dependency
nftables works fine without threads, only the XML parsing support in
libnftl requires -lpthread so move the depends into
BR2_PACKAGE_LIBNFTNL_XML.
[Thomas: tweak commit title and log.]
Signed-off-by: Alexander Clouter <alex+buildroot@digriz.org.uk>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nftables')
-rw-r--r-- | package/nftables/Config.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/nftables/Config.in b/package/nftables/Config.in index 1e0798e57..b7af24489 100644 --- a/package/nftables/Config.in +++ b/package/nftables/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_NFTABLES depends on BR2_INET_IPV6 depends on BR2_LARGEFILE depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 select BR2_PACKAGE_GMP select BR2_PACKAGE_LIBMNL @@ -18,7 +17,6 @@ config BR2_PACKAGE_NFTABLES http://www.netfilter.org/projects/nftables/index.html -comment "nftables needs a toolchain w/ IPv6, largefile, threads, wchar, headers >= 3.4" +comment "nftables needs a toolchain w/ IPv6, largefile, wchar, headers >= 3.4" depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 |