summaryrefslogtreecommitdiff
path: root/openwrt/package/vsftpd/patches/find-libs.patch
blob: ae8e9f7dbf97b305f639f68e216c61c3d6baf5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 \