[oe-commits] Andrew Gabbasov : apr: use ${HOST_SYS}-libtool

git version control git at git.openembedded.org
Wed Sep 28 20:42:51 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 61cedb87446a27ddaaa880a5f3296399def441df
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=61cedb87446a27ddaaa880a5f3296399def441df

Author: Andrew Gabbasov <andrew_gabbasov at mentor.com>
Date:   Wed Sep 28 16:09:52 2011 +0400

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.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/apr/apr_1.4.5.bb |    2 +-
 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 b65e042..173402a 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/





More information about the Openembedded-commits mailing list