diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-26 13:38:43 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-26 13:38:43 +0000 |
commit | 76b82cfd6f06bcc65850eb045f05a2c9af861d83 (patch) | |
tree | fcfe3b87d6f00065914f2a2208780bb58c39a6e8 | |
parent | 4ed1f1d99d35720047a3f525eb1c1ede45734012 (diff) |
- make find_mount_point conditional on df and eject; Fixes `make hosttools´ on
hosts where mntent.h does not exist.
-rw-r--r-- | libbb/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in index 7d1686d90..f05b8ec16 100644 --- a/libbb/Makefile.in +++ b/libbb/Makefile.in @@ -14,7 +14,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 \ crc32.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 \ + device_open.c dump.c error_msg.c error_msg_and_die.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 \ herror_msg.c herror_msg_and_die.c \ @@ -48,7 +48,8 @@ LIBBB-$(CONFIG_FEATURE_HTTPD_AUTH_MD5)+= pw_encrypt.c LIBBB-$(CONFIG_VLOCK)+= correct_password.c LIBBB-$(CONFIG_SU)+= correct_password.c LIBBB-$(CONFIG_LOGIN)+= correct_password.c - +LIBBB-$(CONFIG_DF)+= find_mount_point.c +LIBBB-$(CONFIG_EJECT)+= find_mount_point.c LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y)) |