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:19:46 +0000 |
commit | a01c103f54d2f588d78756d19f879eb82d0e5ae4 (patch) | |
tree | 99f36751a1544032f544a4719ac0755709f67e37 /meta/recipes-connectivity/libpcap/libpcap.inc | |
parent | 68838f1d61f91229ee489889ad2c7f4b61a1f95c (diff) | |
download | openembedded-core-a01c103f54d2f588d78756d19f879eb82d0e5ae4.tar.gz openembedded-core-a01c103f54d2f588d78756d19f879eb82d0e5ae4.tar.bz2 openembedded-core-a01c103f54d2f588d78756d19f879eb82d0e5ae4.zip |
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.
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/libpcap.inc')
-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} " CXXFLAGS_prepend = "-I${S} " do_configure_prepend () { - if [ ! -e acinclude.m4 ]; then - cat aclocal.m4 > acinclude.m4 + if [ ! -e ${S}/acinclude.m4 ]; then + cat ${S}/aclocal.m4 > ${S}/acinclude.m4 fi sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in } |