commit 1cee6e8802e96fe2c9032c682e8284063f33c3e0
parent 1741d090eff94280eca2f41929ab5c3105f7316c
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date: Thu, 22 Dec 2016 10:17:05 +0200
Merge pull request #3655 from onikitenko/vsftpd-fix
vsftpd: Fix compilation error on x86
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile
@@ -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