[oe-commits] Ross Burton : libpcap: fix relative path references
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 4 12:43:22 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: a01c103f54d2f588d78756d19f879eb82d0e5ae4
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a01c103f54d2f588d78756d19f879eb82d0e5ae4
Author: Ross Burton <ross.burton at intel.com>
Date: Mon Feb 4 10:44:16 2013 +0000
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 c87066c..b9c3640 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
}
More information about the Openembedded-commits
mailing list