svn commit: trunk/busybox/libbb

aldot at busybox.net aldot at busybox.net
Mon Jan 30 15:29:57 UTC 2006


Author: aldot
Date: 2006-01-30 07:29:55 -0800 (Mon, 30 Jan 2006)
New Revision: 13715

Log:
- make linking against libcrypt optional by looking if pw_encrypt() or
  correct_password() is configured. Fixes allnoconfig pulling in -lcrypt.


Modified:
   trunk/busybox/libbb/Makefile.in


Changeset:
Modified: trunk/busybox/libbb/Makefile.in
===================================================================
--- trunk/busybox/libbb/Makefile.in	2006-01-30 15:18:45 UTC (rev 13714)
+++ trunk/busybox/libbb/Makefile.in	2006-01-30 15:29:55 UTC (rev 13715)
@@ -13,7 +13,7 @@
 LIBBB-y:= \
 	bb_asprintf.c ask_confirmation.c change_identity.c chomp.c \
 	compare_string_array.c concat_path_file.c copy_file.c copyfd.c \
-	correct_password.c create_icmp_socket.c create_icmp6_socket.c \
+	create_icmp_socket.c create_icmp6_socket.c \
 	device_open.c dump.c error_msg.c error_msg_and_die.c find_mount_point.c \
 	find_pid_by_name.c find_root_device.c fgets_str.c full_read.c \
 	full_write.c get_last_path_component.c get_line_from_file.c \
@@ -23,7 +23,7 @@
 	make_directory.c mode_string.c mtab.c mtab_file.c \
 	obscure.c parse_mode.c parse_number.c perror_msg.c \
 	perror_msg_and_die.c print_file.c get_console.c \
-	process_escape_sequence.c procps.c pw_encrypt.c qmodule.c \
+	process_escape_sequence.c procps.c qmodule.c \
 	read_package_field.c recursive_action.c remove_file.c \
 	restricted_shell.c run_parts.c run_shell.c safe_read.c safe_write.c \
 	safe_strncpy.c setup_environment.c simplify_path.c \
@@ -39,6 +39,12 @@
 # conditionally compiled objects:
 LIBBB-$(CONFIG_FEATURE_SHADOWPASSWDS)+=pwd2spwd.c
 LIBBB-$(CONFIG_FEATURE_MTAB_SUPPORT)+= mtab.c
+LIBBB-$(CONFIG_PASSWD)+= pw_encrypt.c
+LIBBB-$(CONFIG_SULOGIN)+= pw_encrypt.c
+LIBBB-$(CONFIG_FEATURE_HTTPD_AUTH_MD5)+= pw_encrypt.c
+LIBBB-$(CONFIG_VLOCK)+= correct_password.c
+LIBBB-$(CONFIG_SU)+= correct_password.c
+LIBBB-$(CONFIG_CONFIG_LOGIN)+= correct_password.c
 
 
 LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y))




More information about the busybox-cvs mailing list