From b52e60d5685b6ce9e581b5598b2725a4bf88ab06 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Jan 2000 03:39:24 +0000 Subject: [PATCH] we need -lc when making shared objects or glibc doesn't do its magic binding for stat() --- source/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Makefile.in b/source/Makefile.in index 2d916559ef5..31594bbc8f4 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -464,7 +464,7 @@ bin/smbsh: $(SMBSH_OBJ) bin/.dummy nsswitch/libnss_wins.so: $(NSS_OBJ) @echo "Linking $@" - @$(LD) @LDSHFLAGS@ -o $@ $(NSS_OBJ) + @$(LD) @LDSHFLAGS@ -o $@ $(NSS_OBJ) -lc nsswitch: nsswitch/libnss_wins.so