summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2011-09-28 16:09:52 +0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 21:41:44 +0100
commit7425beb89abca5243d81b6f0d2cd176cdf72f7fd (patch)
treed09af8b97b76663cf54b7c6df795a91c526569a9
parent2c4f2588e984c1ac0c2b2be63c5b8ef5638204d9 (diff)
downloadpoky-7425beb89abca5243d81b6f0d2cd176cdf72f7fd.tar.gz
poky-7425beb89abca5243d81b6f0d2cd176cdf72f7fd.tar.bz2
poky-7425beb89abca5243d81b6f0d2cd176cdf72f7fd.zip
apr: use ${HOST_SYS}-libtool
libtool-cross uses ${HOST_SYS}- prefix while building and installing. In some cases that may be different from ${TARGET_PREFIX}, that is currently used in apr recipe. It's better to have them consistent. (From OE-Core rev: 61cedb87446a27ddaaa880a5f3296399def441df) Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/apr/apr_1.4.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr_1.4.5.bb b/meta/recipes-support/apr/apr_1.4.5.bb
index b65e0427da..173402a002 100644
--- a/meta/recipes-support/apr/apr_1.4.5.bb
+++ b/meta/recipes-support/apr/apr_1.4.5.bb
@@ -47,7 +47,7 @@ apr_sysroot_preprocess () {
cp ${S}/build/apr_rules.mk $d/
sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk
sed -i s,apr_builders=.*,apr_builders=,g $d/apr_rules.mk
- sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g $d/apr_rules.mk
+ sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${HOST_SYS}-libtool,g $d/apr_rules.mk
sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g $d/apr_rules.mk
cp ${S}/build/mkdir.sh $d/
cp ${S}/build/make_exports.awk $d/