[oe-commits] Jackie Huang : traceroute: add VPATH to find libraries and avoid host contamination

git at git.openembedded.org git at git.openembedded.org
Wed Nov 19 15:16:04 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 671cbca4e7887e14c2b9fb2986cf5f65de7a1e35
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=671cbca4e7887e14c2b9fb2986cf5f65de7a1e35

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Wed Nov  5 00:28:30 2014 -0500

traceroute: add VPATH to find libraries and avoid host contamination

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

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>

---

 meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
index 4b49c76..4476670 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
@@ -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"



More information about the Openembedded-commits mailing list