aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-30 15:29:55 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-30 15:29:55 +0000
commit1384f29bcb54c994159c68508b9c359d7d2abc6a (patch)
tree93059bd5233b5293820857c09f8c528b927e3c14 /libbb
parent0536cbc045f8ed2cb41d59b4cc6e76ee819e3569 (diff)
downloadbusybox-w32-1384f29bcb54c994159c68508b9c359d7d2abc6a.tar.gz
busybox-w32-1384f29bcb54c994159c68508b9c359d7d2abc6a.tar.bz2
busybox-w32-1384f29bcb54c994159c68508b9c359d7d2abc6a.zip
- make linking against libcrypt optional by looking if pw_encrypt() or
correct_password() is configured. Fixes allnoconfig pulling in -lcrypt. git-svn-id: svn://busybox.net/trunk/busybox@13715 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index bb3790a58..6be0089a6 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -13,7 +13,7 @@ LIBBB-n:=
13LIBBB-y:= \ 13LIBBB-y:= \
14 bb_asprintf.c ask_confirmation.c change_identity.c chomp.c \ 14 bb_asprintf.c ask_confirmation.c change_identity.c chomp.c \
15 compare_string_array.c concat_path_file.c copy_file.c copyfd.c \ 15 compare_string_array.c concat_path_file.c copy_file.c copyfd.c \
16 correct_password.c create_icmp_socket.c create_icmp6_socket.c \ 16 create_icmp_socket.c create_icmp6_socket.c \
17 device_open.c dump.c error_msg.c error_msg_and_die.c find_mount_point.c \ 17 device_open.c dump.c error_msg.c error_msg_and_die.c find_mount_point.c \
18 find_pid_by_name.c find_root_device.c fgets_str.c full_read.c \ 18 find_pid_by_name.c find_root_device.c fgets_str.c full_read.c \
19 full_write.c get_last_path_component.c get_line_from_file.c \ 19 full_write.c get_last_path_component.c get_line_from_file.c \
@@ -23,7 +23,7 @@ LIBBB-y:= \
23 make_directory.c mode_string.c mtab.c mtab_file.c \ 23 make_directory.c mode_string.c mtab.c mtab_file.c \
24 obscure.c parse_mode.c parse_number.c perror_msg.c \ 24 obscure.c parse_mode.c parse_number.c perror_msg.c \
25 perror_msg_and_die.c print_file.c get_console.c \ 25 perror_msg_and_die.c print_file.c get_console.c \
26 process_escape_sequence.c procps.c pw_encrypt.c qmodule.c \ 26 process_escape_sequence.c procps.c qmodule.c \
27 read_package_field.c recursive_action.c remove_file.c \ 27 read_package_field.c recursive_action.c remove_file.c \
28 restricted_shell.c run_parts.c run_shell.c safe_read.c safe_write.c \ 28 restricted_shell.c run_parts.c run_shell.c safe_read.c safe_write.c \
29 safe_strncpy.c setup_environment.c simplify_path.c \ 29 safe_strncpy.c setup_environment.c simplify_path.c \
@@ -39,6 +39,12 @@ LIBBB-y:= \
39# conditionally compiled objects: 39# conditionally compiled objects:
40LIBBB-$(CONFIG_FEATURE_SHADOWPASSWDS)+=pwd2spwd.c 40LIBBB-$(CONFIG_FEATURE_SHADOWPASSWDS)+=pwd2spwd.c
41LIBBB-$(CONFIG_FEATURE_MTAB_SUPPORT)+= mtab.c 41LIBBB-$(CONFIG_FEATURE_MTAB_SUPPORT)+= mtab.c
42LIBBB-$(CONFIG_PASSWD)+= pw_encrypt.c
43LIBBB-$(CONFIG_SULOGIN)+= pw_encrypt.c
44LIBBB-$(CONFIG_FEATURE_HTTPD_AUTH_MD5)+= pw_encrypt.c
45LIBBB-$(CONFIG_VLOCK)+= correct_password.c
46LIBBB-$(CONFIG_SU)+= correct_password.c
47LIBBB-$(CONFIG_CONFIG_LOGIN)+= correct_password.c
42 48
43 49
44LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y)) 50LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y))