aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/apr/apr-util_1.2.12.bb
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-09-09 12:44:48 -0700
committerTom Rini <tom_rini@mentor.com>2010-09-13 09:00:42 -0700
commitd0dece3a6356ee4687ee5b5670a2b8b10b84f564 (patch)
tree12642287e59be8531aadf1d18c7003bb8d5f9872 /recipes/apr/apr-util_1.2.12.bb
parent62d29bd2240abdac39c3ace5bb55c860cbc23d47 (diff)
downloadopenembedded-d0dece3a6356ee4687ee5b5670a2b8b10b84f564.tar.gz
apr-util: Switch to getting libtool from PATH
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/apr/apr-util_1.2.12.bb')
-rw-r--r--recipes/apr/apr-util_1.2.12.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/apr/apr-util_1.2.12.bb b/recipes/apr/apr-util_1.2.12.bb
index 698a3f0ca7..18e4ad3b97 100644
--- a/recipes/apr/apr-util_1.2.12.bb
+++ b/recipes/apr/apr-util_1.2.12.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
DEPENDS = "apr expat gdbm"
LICENSE = "Apache License, Version 2.0"
-PR = "r3"
+PR = "r4"
inherit autotools lib_package binconfig
@@ -19,12 +19,11 @@ EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS} --with-dbm=gdbm \
OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
-EXTRA_OEMAKE = " LIBTOOL=\"${S}/${TARGET_PREFIX}libtool\" "
-export LIBTOOL="${S}/${TARGET_PREFIX}libtool"
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
do_configure_prepend() {
- cp ${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool ${S}/
cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
echo "AC_PROG_LIBTOOL" >> ${S}/configure.in
libtoolize --force