vsftpd: Fix vsftpd compilation error for x86

Signed-off-by: Alex Nikitenko <alex.nikitenko@sirinsoftware.com>
This commit is contained in:
Alex Nikitenko 2016-12-20 18:31:00 +02:00
parent 7b812e8fdd
commit beab35d113
1 changed files with 2 additions and 0 deletions

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