apr: Install apr-local libtool in build dir
authorJoe MacDonald <joe.macdonald@windriver.com>
Thu, 28 Jun 2012 18:29:47 +0000 (19:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jun 2012 12:31:00 +0000 (13:31 +0100)
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/.

(From OE-Core rev: eefbc2f219571dd0c66e1099ea4ad72b1a973fd4)

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/apr/apr_1.4.6.bb

index c0ab4f1..6cd37f1 100644 (file)
@@ -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"