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/.

(From OE-Core rev: eefbc2f219571dd0c66e1099ea4ad72b1a973fd4)

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe MacDonald 2012-06-28 19:29:47 +01:00 committed by Richard Purdie
parent c4c029ad51
commit 11809e3fd1
1 changed files with 2 additions and 0 deletions

View 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"