aboutsummaryrefslogtreecommitdiff
path: root/util-linux/unshare.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-10-16 02:04:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2022-11-29 14:10:22 +0100
commit77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch)
tree8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /util-linux/unshare.c
parent75fbff1326674b768cee66f32e3799d5bff5e194 (diff)
downloadbusybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.gz
busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.bz2
busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.zip
Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on Linux only. Some features are also Linux-only. Also, libresolv is used on all GNU platforms, notably GNU/Hurd and GNU/kfreeBSD. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/unshare.c')
-rw-r--r--util-linux/unshare.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/unshare.c b/util-linux/unshare.c
index 06b938074..156a96d94 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -9,6 +9,7 @@
9//config:config UNSHARE 9//config:config UNSHARE
10//config: bool "unshare (7.2 kb)" 10//config: bool "unshare (7.2 kb)"
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX
12//config: depends on !NOMMU 13//config: depends on !NOMMU
13//config: select LONG_OPTS 14//config: select LONG_OPTS
14//config: help 15//config: help