git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7b812e8
)
vsftpd: Fix vsftpd compilation error for x86
author
Alex Nikitenko
<redacted>
Tue, 20 Dec 2016 16:31:00 +0000
(18:31 +0200)
committer
Alex Nikitenko
<redacted>
Tue, 20 Dec 2016 16:31:26 +0000
(18:31 +0200)
Signed-off-by: Alex Nikitenko <redacted>
net/vsftpd/Makefile
patch
|
blob
|
history
diff --git
a/net/vsftpd/Makefile
b/net/vsftpd/Makefile
index da50698818aa5dc9eedd397885d7756733dbceda..d85dc70e40067e6eda11d2efa0da1198ec9ea215 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT