From: Koen Kooi Date: Mon, 11 Oct 2010 13:05:49 +0000 (+0200) Subject: libtool-sdk: add recipe for 2.4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4b585e4792b0c2c3b717f732d2a599fc1fcfa3;p=openembedded.git libtool-sdk: add recipe for 2.4 Without this pkgconfig-sdk fails to build as part of meta-toolchain when using libtool 2.4 --- diff --git a/recipes/libtool/libtool-sdk_2.4.bb b/recipes/libtool/libtool-sdk_2.4.bb new file mode 100644 index 0000000000..f1859ca69c --- /dev/null +++ b/recipes/libtool/libtool-sdk_2.4.bb @@ -0,0 +1,21 @@ +require libtool_${PV}.bb + +SRC_URI_append = " file://prefix.patch \ + file://cross.patch \ + " +inherit sdk + +do_configure_prepend () { + # Remove any existing libtool m4 since old stale versions would break + # any upgrade + rm -f ${STAGING_DATADIR}/aclocal/libtool.m4 + rm -f ${STAGING_DATADIR}/aclocal/lt*.m4 +} + +do_install () { + autotools_do_install + install -d ${D}${bindir}/ + install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/ +} + +NATIVE_INSTALL_WORKS = "1"