From: Hans Dedecker Date: Mon, 20 Apr 2020 20:11:01 +0000 (+0200) Subject: vsftpd: fix compilation with glibc X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ccbaf71662066a76e87c0a7066322b85a6d4d20c;p=openwrt-packages.git vsftpd: fix compilation with glibc Fix compilation for glibc by removing -lnsl flag Reported-by: Ian Cooper Signed-off-by: Hans Dedecker --- diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 362bcdf6d..4e75f75b9 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -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