summaryrefslogtreecommitdiffstats
path: root/package/netcat-openbsd/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/netcat-openbsd/Config.in')
-rw-r--r--package/netcat-openbsd/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/netcat-openbsd/Config.in b/package/netcat-openbsd/Config.in
index 46d3a505e3..4734ff9901 100644
--- a/package/netcat-openbsd/Config.in
+++ b/package/netcat-openbsd/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_NETCAT_OPENBSD
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
select BR2_PACKAGE_LIBBSD
help
A simple Unix utility which reads and writes data across
@@ -20,7 +21,8 @@ config BR2_PACKAGE_NETCAT_OPENBSD
https://packages.debian.org/sid/netcat-openbsd
-comment "netcat-openbsd needs a glibc toolchain w/ threads"
+comment "netcat-openbsd needs a glibc toolchain w/ threads, headers >= 3.12"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
OpenPOWER on IntegriCloud