summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2009-07-14 12:08:58 -0700
committerChris Larson <clarson@mvista.com>2009-08-27 13:21:17 -0700
commit34dee0fced79caec07153f02deb3bc8a614ad9d2 (patch)
tree5497e29021d1a949324da19776c8b5ff54f1a3d2
parentf0b67d21ab82330aceee1f32d46add93b87875e4 (diff)
lsof: Fix misuse of system ranlib.
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com>
-rw-r--r--recipes/lsof/lsof_4.78.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/lsof/lsof_4.78.bb b/recipes/lsof/lsof_4.78.bb
index 51f0b8b2c4..0a24c607fa 100644
--- a/recipes/lsof/lsof_4.78.bb
+++ b/recipes/lsof/lsof_4.78.bb
@@ -3,6 +3,8 @@ Its name stands for LiSt Open Files, and it does just that."
SECTION = "devel"
LICENSE = "BSD"
+PR = "r1"
+
SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
S = "${WORKDIR}/lsof_${PV}_src"
@@ -29,7 +31,8 @@ export L = "${STAGING_INCDIR}"
export EXTRA_OEMAKE = ""
do_compile () {
- oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}'
+ oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}' \
+ 'RANLIB=${RANLIB} liblsof.a'
}
do_install () {