From: Ross Burton Date: Fri, 14 Dec 2012 14:51:17 +0000 (+0000) Subject: apr: fix out-of-tree builds X-Git-Tag: 2015-4~8347 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ed4e991317ab11e8c0e6869f2be6426cc3d28ccb;p=openembedded-core.git apr: fix out-of-tree builds Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb index 896f79fe36..b7220e0c1f 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() {