aboutsummaryrefslogtreecommitdiff
path: root/package/ifupdown/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/ifupdown/Config.in')
-rw-r--r--package/ifupdown/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/ifupdown/Config.in b/package/ifupdown/Config.in
index 10cf2be115..1e11e4ee0a 100644
--- a/package/ifupdown/Config.in
+++ b/package/ifupdown/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_IFUPDOWN
bool "ifupdown"
depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
# Default/our uclibc lacks wordexp()
depends on !BR2_TOOLCHAIN_USES_UCLIBC
# runtime for ip binary
@@ -12,6 +13,7 @@ config BR2_PACKAGE_IFUPDOWN
https://tracker.debian.org/pkg/ifupdown
-comment "ifupdown needs an (e)glibc or musl toolchain"
+comment "ifupdown needs an (e)glibc or musl toolchain w/ headers >= 3.0"
depends on BR2_USE_MMU
- depends on BR2_TOOLCHAIN_USES_UCLIBC
+ depends on BR2_TOOLCHAIN_USES_UCLIBC || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0