summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko2018-01-04 15:21:25 +0100
committerDenys Vlasenko2018-01-04 15:21:25 +0100
commit7367a949a6a81d71d524f0635a212371120df4e0 (patch)
treecd68dd385f15eb2a048e4d2164851c6bf431c7a8 /libbb
parenta47375de8c7b0f4dcb95097c8119ea47b6e2636c (diff)
downloadbusybox-7367a949a6a81d71d524f0635a212371120df4e0.zip
busybox-7367a949a6a81d71d524f0635a212371120df4e0.tar.gz
libbb: compile obscure() only if FEATURE_PASSWD_WEAK_CHECK=y
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Kbuild.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
index 6e6d71a..8c9ba8c 100644
--- a/libbb/Kbuild.src
+++ b/libbb/Kbuild.src
@@ -143,7 +143,8 @@ lib-$(CONFIG_DELGROUP) += update_passwd.o
lib-$(CONFIG_DELUSER) += update_passwd.o
lib-$(CONFIG_FTPD) += pw_encrypt.o correct_password.o
-lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o
+lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o
+lib-$(CONFIG_FEATURE_PASSWD_WEAK_CHECK) += obscure.o
lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
lib-$(CONFIG_MKPASSWD) += pw_encrypt.o