vsftpd: fix compilation with glibc

Fix compilation for glibc by removing -lnsl flag

Reported-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
Hans Dedecker 2020-04-20 22:11:01 +02:00
parent 2ae560539e
commit ccbaf71662
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ Package/vsftpd-tls/conffiles=$(Package/vsftpd/conffiles)
ifneq ($(CONFIG_USE_MUSL),)
NLSSTRING:=-lcrypt
else ifneq ($(CONFIG_USE_GLIBC),)
NLSSTRING:=-lcrypt
else
NLSSTRING:=-lcrypt -lnsl
endif