[oe-commits] Joe MacDonald : apr: Install apr-local libtool in build dir

git at git.openembedded.org git at git.openembedded.org
Fri Jun 29 12:24:43 UTC 2012


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

Author: Joe MacDonald <joe.macdonald at windriver.com>
Date:   Thu Jun 28 19:29:47 2012 +0100

apr: Install apr-local libtool in build dir

Building apache with this version of apr would blow up on the results
from:

   apr_config --apr-libtool

Errors of the form:

   /bin/sh: /media/large/tmp/sysroots/x86_64-linux/usr/share/build-1/libtool: No such file or directory

Fix that by ensuring libtool from apr's build lands in
.../usr/share/build-1/.

Signed-off-by: Joe MacDonald <joe.macdonald at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/apr/apr_1.4.6.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index c0ab4f1..6cd37f1 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -39,6 +39,8 @@ do_configure_append() {
 
 do_install_append() {
 	oe_multilib_header apr.h
+	install -d ${D}${datadir}/apr
+	cp ${S}/${HOST_SYS}-libtool ${D}${datadir}/build-1/libtool
 }
 
 SSTATE_SCAN_FILES += "apr_rules.mk"





More information about the Openembedded-commits mailing list