packages/net/vsftpd/patches/002-find_libs.patch
olli c3998a7105 [Packages] net/vsftpd: Update to 2.0.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 09:45:50 +00:00

16 lines
511 B
Diff

Index: vsftpd-2.0.6/Makefile
===================================================================
--- vsftpd-2.0.6.orig/Makefile 2008-04-13 11:41:08.000000000 +0200
+++ vsftpd-2.0.6/Makefile 2008-04-13 11:41:08.000000000 +0200
@@ -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 \