summaryrefslogtreecommitdiff
path: root/utils/lsof/patches/001-lsof_makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lsof/patches/001-lsof_makefile.patch')
-rw-r--r--utils/lsof/patches/001-lsof_makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/lsof/patches/001-lsof_makefile.patch b/utils/lsof/patches/001-lsof_makefile.patch
new file mode 100644
index 000000000..eb2b73519
--- /dev/null
+++ b/utils/lsof/patches/001-lsof_makefile.patch
@@ -0,0 +1,13 @@
+--- a/lib/Makefile.skel
++++ b/lib/Makefile.skel
+@@ -21,8 +21,8 @@ OBJ= ckkv.o cvfs.o dvch.o fino.o isfn.o
+ all: ${LIB}
+
+ ${LIB}: ${OBJ}
+- ${AR}
+- ${RANLIB}
++ ${AR} ${LIB} ${OBJ}
++ ${RANLIB} ${LIB}
+
+ clean: FRC
+ rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core