From 8dd4ca787ab4606424d634ef94246a658ee6c6bf Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 21 Mar 2006 16:22:19 +0000 Subject: [PATCH] Patch from Shaun Jackman to make loop.c build only when needed. --- libbb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libbb/Makefile.in b/libbb/Makefile.in index 7b501531a..6d0d628a0 100644 --- a/libbb/Makefile.in +++ b/libbb/Makefile.in @@ -19,7 +19,7 @@ LIBBB-y:= \ full_write.c get_last_path_component.c get_line_from_file.c \ herror_msg.c herror_msg_and_die.c \ human_readable.c inet_common.c inode_hash.c isdirectory.c \ - kernel_version.c last_char_is.c login.c loop.c \ + kernel_version.c last_char_is.c login.c \ make_directory.c md5.c mode_string.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 \ @@ -38,6 +38,7 @@ LIBBB-y:= \ # conditionally compiled objects: LIBBB-$(CONFIG_FEATURE_SHADOWPASSWDS)+=pwd2spwd.c +LIBBB-$(CONFIG_FEATURE_MOUNT_LOOP)+= loop.c LIBBB-$(CONFIG_FEATURE_MTAB_SUPPORT)+= mtab.c LIBBB-$(CONFIG_PASSWD)+= pw_encrypt.c LIBBB-$(CONFIG_SULOGIN)+= pw_encrypt.c -- 2.25.1