Skip to contentSkip to conversation

traceroute: add VPATH to find libraries and avoid host contamination

PATCH New [email protected] 1 participant 1 message Nov 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 traceroute: add VPATH to find libraries and avoid host contamination

From: Jackie Huang <[email protected]>

Fixed:
make[1]: *** No rule to make target '-lm', needed by 'traceroute'. Stop.

---
 meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb +2 -0
index 4b49c76..4476670 100644
@@ -20,6 +20,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/${BP}/${BP}.tar.gz \
 SRC_URI[md5sum] = "559f104e155e0e14ee0c717776a745fa"
 SRC_URI[sha256sum] = "2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271"
 
+EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}"
+
 do_compile() {
     export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp"
     oe_runmake "env=yes"
Signature · 1 line
2.0.0