xfsdump: Switch to getting libtool from PATH
authorTom Rini <tom_rini@mentor.com>
Thu, 9 Sep 2010 19:47:15 +0000 (12:47 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 13 Sep 2010 16:00:43 +0000 (09:00 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/xfsprogs/xfsdump_3.0.4.bb

index 46a3d74..f728aef 100644 (file)
@@ -3,6 +3,7 @@ HOMEPAGE = "http://oss.sgi.com/projects/xfs"
 LICENSE = "GPL"
 SECTION = "base"
 DEPENDS = "xfsprogs"
+PR = "r1"
 
 SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz"
 SRC_URI[md5sum] = "af6932cfcd95ce64dc583128a190ffd7"
@@ -13,9 +14,10 @@ inherit autotools
 EXTRA_OECONF = "--enable-gettext=no"
 TARGET_CC_ARCH += "${LDFLAGS}"
 
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
 
 do_configure () {
-       export LIBTOOL="${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"
        export DEBUG="-DNDEBUG"
        oe_runconf
 }