Add lsof, thanks h3sp4wn (#1548)
[openwrt/svn-archive/archive.git] / utils / lsof / patches / 001-lsof_makefile.patch
1 diff -ru lsof_4.77.orig/lsof_4.77_src/lib/Makefile.skel lsof_4.77/lsof_4.77_src/lib/Makefile.skel
2 --- lsof_4.77.orig/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100
3 +++ lsof_4.77/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100
4 @@ -21,8 +21,8 @@
5 all: ${LIB}
6
7 ${LIB}: ${OBJ}
8 - ${AR}
9 - ${RANLIB}
10 + ${AR} ${LIB} ${OBJ}
11 + ${RANLIB} ${LIB}
12
13 clean: FRC
14 rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core