diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-11-05 00:28:30 -0500 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-11-10 15:07:02 -0500 |
commit | 671cbca4e7887e14c2b9fb2986cf5f65de7a1e35 (patch) | |
tree | 131ff72f6ed7f0fc3596e18fc3ed4edbb4f22175 /meta-networking/recipes-support/traceroute | |
parent | dac2422f737c351c37a8405a76b5f0b5df9311a0 (diff) | |
download | meta-openembedded-671cbca4e7887e14c2b9fb2986cf5f65de7a1e35.tar.gz |
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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/traceroute')
-rw-r--r-- | meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 4b49c7686..447667065 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 \ | |||
20 | SRC_URI[md5sum] = "559f104e155e0e14ee0c717776a745fa" | 20 | SRC_URI[md5sum] = "559f104e155e0e14ee0c717776a745fa" |
21 | SRC_URI[sha256sum] = "2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271" | 21 | SRC_URI[sha256sum] = "2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271" |
22 | 22 | ||
23 | EXTRA_OEMAKE = "VPATH=${STAGING_LIBDIR}" | ||
24 | |||
23 | do_compile() { | 25 | do_compile() { |
24 | export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp" | 26 | export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp" |
25 | oe_runmake "env=yes" | 27 | oe_runmake "env=yes" |