From 66106e7c9cb9f2c5ebf1b98c49c9f71acf702d71 Mon Sep 17 00:00:00 2001 From: Daniel Klessing Date: Wed, 9 Nov 2011 15:55:18 +0100 Subject: Include safe_gethostname() Fixed compilation under mingw32 by making safe_gethostname.c globally available, as the compiler couldn't find safe_gethostname() --- libbb/Kbuild.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/Kbuild.src') diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index b88fa8fe7..f815c6dbc 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src @@ -78,6 +78,7 @@ lib-y += read_printf.o lib-y += recursive_action.o lib-y += remove_file.o lib-y += run_shell.o +lib-y += safe_gethostname.o lib-y += safe_poll.o lib-y += safe_strncpy.o lib-y += safe_write.o @@ -116,7 +117,6 @@ lib-$(CONFIG_PLATFORM_POSIX) += login.o lib-$(CONFIG_PLATFORM_POSIX) += makedev.o lib-$(CONFIG_PLATFORM_POSIX) += match_fstype.o lib-$(CONFIG_PLATFORM_POSIX) += read_key.o -lib-$(CONFIG_PLATFORM_POSIX) += safe_gethostname.o lib-$(CONFIG_PLATFORM_POSIX) += signals.o lib-$(CONFIG_PLATFORM_POSIX) += udp_io.o lib-$(CONFIG_PLATFORM_POSIX) += xgethostbyname.o -- cgit v1.2.3-55-g6feb