apr 1.2.12: Switch to getting libtool from PATH
authorTom Rini <tom_rini@mentor.com>
Thu, 9 Sep 2010 19:44:17 +0000 (12:44 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 13 Sep 2010 16:00:42 +0000 (09:00 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/apr/apr_1.2.12.bb

index dd4493f..775578a 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Apache Portable Runtime (APR) library"
 SECTION = "libs"
 LICENSE = "Apache License, Version 2.0"
 
-PR = "r1"
+PR = "r2"
 
 # apache mirrors?
 SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
@@ -11,7 +11,9 @@ SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
 inherit autotools lib_package binconfig
 
 OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
-EXTRA_OEMAKE = " LIBTOOL=\"${S}/${TARGET_PREFIX}libtool\" "
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
 
 do_configure_prepend() {
        rm -f ${S}/build/libtool.m4