Patchwork [1/3] apr: Install apr-local libtool in build dir

login
register
mail settings
Submitter Paul Eggleton
Date June 28, 2012, 6:29 p.m.
Message ID <b89507663fd994bc551d07ad0f80e27b62416b94.1340908084.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/30823/
State Accepted
Commit eefbc2f219571dd0c66e1099ea4ad72b1a973fd4
Headers show

Comments

Paul Eggleton - June 28, 2012, 6:29 p.m.
From: Joe MacDonald <joe.macdonald@windriver.com>

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@windriver.com>
---
 meta/recipes-support/apr/apr_1.4.6.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

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"