diff options
author | Ross Burton <ross.burton@intel.com> | 2013-02-04 10:44:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-04 12:41:57 +0000 |
commit | 01bf14719ab70636056da5cf31f680b4a7cceab2 (patch) | |
tree | 9a707f6c6f58dd04192770e321bec4a392af7fe5 /meta/recipes-connectivity/libpcap | |
parent | 43e613199b336f2dbbcc21c33ec0835c1411fcdb (diff) | |
download | poky-01bf14719ab70636056da5cf31f680b4a7cceab2.tar.gz |
libpcap: fix relative path references
do_configure was using relative paths in do_configure with the assumption that
$S is the same as $B. This isn't always true, so explicitly use $S.
(From OE-Core rev: a01c103f54d2f588d78756d19f879eb82d0e5ae4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index c87066cad3..b9c3640ab6 100644 --- a/meta/recipes-connectivity/libpcap/libpcap.inc +++ b/meta/recipes-connectivity/libpcap/libpcap.inc | |||
@@ -27,8 +27,8 @@ CFLAGS_prepend = "-I${S} " | |||
27 | CXXFLAGS_prepend = "-I${S} " | 27 | CXXFLAGS_prepend = "-I${S} " |
28 | 28 | ||
29 | do_configure_prepend () { | 29 | do_configure_prepend () { |
30 | if [ ! -e acinclude.m4 ]; then | 30 | if [ ! -e ${S}/acinclude.m4 ]; then |
31 | cat aclocal.m4 > acinclude.m4 | 31 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 |
32 | fi | 32 | fi |
33 | sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in | 33 | sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in |
34 | } | 34 | } |