Merge pull request #3655 from onikitenko/vsftpd-fix

vsftpd: Fix compilation error on x86
This commit is contained in:
Hannu Nyman 2016-12-22 10:17:05 +02:00 committed by GitHub
commit 1cee6e8802

View file

@ -55,6 +55,8 @@ else
NLSSTRING:=-lcrypt -lnsl
endif
TARGET_CFLAGS += -D_GNU_SOURCE -include fcntl.h
ifeq ($(BUILD_VARIANT),notls)
define Build/Compile
$(SED) 's/-lcrypt -lnsl/$(NLSSTRING)/' $(PKG_BUILD_DIR)/Makefile