diff options
Diffstat (limited to 'package/vsftpd/patches/find-libs.patch')
-rw-r--r-- | package/vsftpd/patches/find-libs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/vsftpd/patches/find-libs.patch b/package/vsftpd/patches/find-libs.patch new file mode 100644 index 000000000..ae8e9f7db --- /dev/null +++ b/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 \ |