vsftpd: fix compilation with glibc
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Apr 2020 20:11:01 +0000 (22:11 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Apr 2020 20:14:06 +0000 (22:14 +0200)
Fix compilation for glibc by removing -lnsl flag

Reported-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
net/vsftpd/Makefile

index 362bcdf6d3a5f74763641a2796919bdee16a40bc..4e75f75b95cda4cc986b66a39b4a47a1cb3a5d8b 100644 (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