only compile obscure.c when needed
authorDan Fandrich <dan@coneharvesters.com>
Fri, 3 Jun 2011 18:28:14 +0000 (20:28 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jun 2011 18:28:14 +0000 (20:28 +0200)
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/Kbuild.src

index fa6e5b6e349cddfda8b4955b3490394fea34c741..62bee9394ff1887935e4084e2a8915c179e6c195 100644 (file)
@@ -63,7 +63,6 @@ lib-y += hash_md5_sha.o
 #lib-y += hash_md5prime.o
 lib-y += messages.o
 lib-y += mode_string.o
-lib-y += obscure.o
 lib-y += parse_mode.o
 lib-y += parse_config.o
 lib-y += perror_msg.o
@@ -137,7 +136,7 @@ lib-$(CONFIG_ADDUSER) += update_passwd.o
 lib-$(CONFIG_DELGROUP) += update_passwd.o
 lib-$(CONFIG_DELUSER) += update_passwd.o
 
-lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o
+lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o
 lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o
 lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
 lib-$(CONFIG_SULOGIN) += pw_encrypt.o