From ccbaf71662066a76e87c0a7066322b85a6d4d20c Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 20 Apr 2020 22:11:01 +0200 Subject: [PATCH] vsftpd: fix compilation with glibc Fix compilation for glibc by removing -lnsl flag Reported-by: Ian Cooper Signed-off-by: Hans Dedecker --- net/vsftpd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 362bcdf6d3..4e75f75b95 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 -- 2.30.2