[OE-core] [PATCH 2/9] apr: fix out-of-tree builds
Ross Burton
ross.burton at intel.com
Fri Dec 14 14:51:17 UTC 2012
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-support/apr/apr_1.4.6.bb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index 896f79f..b7220e0 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -33,9 +33,8 @@ FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
#for some reason, build/libtool.m4 handled by buildconf still be overwritten
#when autoconf, so handle it again.
do_configure_append() {
- cd ${S}
- sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4
- sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk
+ sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/libtool.m4
+ sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/apr_rules.mk
}
do_install_append() {
--
1.7.10
More information about the Openembedded-core
mailing list