diff options
author | Denys Vlasenko | 2018-02-21 20:13:39 +0100 |
---|---|---|
committer | Denys Vlasenko | 2018-02-21 20:13:39 +0100 |
commit | 2af5e3fac394a922bcf7752be25128879405a21a (patch) | |
tree | 3566d0edc685776aa192686507a38411c51662c0 /libbb | |
parent | 7d285c78a35b1e745f7c6f27e31d73677ad2943a (diff) | |
download | busybox-2af5e3fac394a922bcf7752be25128879405a21a.zip busybox-2af5e3fac394a922bcf7752be25128879405a21a.tar.gz |
libbb: compile capability code only if FEATURE_SETPRIV_CAPABILITIES or RUN_INIT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/capability.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/capability.c b/libbb/capability.c index f60062b..6587dcb 100644 --- a/libbb/capability.c +++ b/libbb/capability.c @@ -3,7 +3,8 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ -//kbuild:lib-$(CONFIG_PLATFORM_LINUX) += capability.o +//kbuild:lib-$(CONFIG_FEATURE_SETPRIV_CAPABILITIES) += capability.o +//kbuild:lib-$(CONFIG_RUN_INIT) += capability.o #include <linux/capability.h> // #include <sys/capability.h> |