mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
43e613199b
commit
01bf14719a
@@ -27,8 +27,8 @@ CFLAGS_prepend = "-I${S} "
|
|||||||
CXXFLAGS_prepend = "-I${S} "
|
CXXFLAGS_prepend = "-I${S} "
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
if [ ! -e acinclude.m4 ]; then
|
if [ ! -e ${S}/acinclude.m4 ]; then
|
||||||
cat aclocal.m4 > acinclude.m4
|
cat ${S}/aclocal.m4 > ${S}/acinclude.m4
|
||||||
fi
|
fi
|
||||||
sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
|
sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user