summaryrefslogtreecommitdiff
path: root/openwrt/package/vsftpd/patches/find-libs.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
commita5e6715d30c38f5bbecd0536e2730a9f822cb71b (patch)
tree014346b1a8a0ae8cdb3a51cdd97df3a7e61bffd6 /openwrt/package/vsftpd/patches/find-libs.patch
parentc6e5fd9193d6d28bc16a455d6a1c005a5a771627 (diff)
downloadmtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.zip
mtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.tar.gz
mtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.tar.bz2
Add vsftpd package
SVN-Revision: 913
Diffstat (limited to 'openwrt/package/vsftpd/patches/find-libs.patch')
-rw-r--r--openwrt/package/vsftpd/patches/find-libs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/vsftpd/patches/find-libs.patch b/openwrt/package/vsftpd/patches/find-libs.patch
new file mode 100644
index 0000000..ae8e9f7
--- /dev/null
+++ b/openwrt/package/vsftpd/patches/find-libs.patch
@@ -0,0 +1,14 @@
+diff -ruN vsftpd-1.2.2-orig/Makefile vsftpd-1.2.2-3/Makefile
+--- vsftpd-1.2.2-orig/Makefile 2003-09-15 13:41:58.000000000 +0200
++++ vsftpd-1.2.2-3/Makefile 2005-03-09 22:23:12.000000000 +0100
+@@ -5,8 +5,8 @@
+ #CFLAGS = -g
+ CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
+
+-LIBS = `./vsf_findlibs.sh`
+-LINK = -Wl,-s
++LIBS = -lcrypt -lnsl
++LINK =
+
+ OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
+ tunables.o ftpdataio.o secbuf.o ls.o \