Browse Source

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>
lilik-openwrt-22.03
Hans Dedecker 5 years ago
parent
commit
ccbaf71662
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/vsftpd/Makefile

+ 2
- 0
net/vsftpd/Makefile 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


Loading…
Cancel
Save