]> code.ossystems Code Review - openembedded-core.git/commitdiff
apr: use ${HOST_SYS}-libtool
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Wed, 28 Sep 2011 12:09:52 +0000 (16:09 +0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2011 20:38:19 +0000 (21:38 +0100)
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.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/apr/apr_1.4.5.bb

index b65e0427da52a951627dff5ef91378dfcfd679c5..173402a00207565238d071bb8c8c0c524c4fb1c9 100644 (file)
@@ -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/