1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

we need -lc when making shared objects or glibc doesn't do its magic

binding for stat()
This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent adbf97c0a9
commit b52e60d568

View File

@ -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