diff options
Diffstat (limited to 'recipes/libtool/libtool-native_2.4.bb')
-rw-r--r-- | recipes/libtool/libtool-native_2.4.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/libtool/libtool-native_2.4.bb b/recipes/libtool/libtool-native_2.4.bb new file mode 100644 index 0000000000..82b24199f6 --- /dev/null +++ b/recipes/libtool/libtool-native_2.4.bb @@ -0,0 +1,22 @@ +require libtool_${PV}.bb + +DEPENDS = "" + +SRC_URI_append = " file://prefix.patch \ + file://cross.patch \ + " + +inherit native +EXTRA_OECONF = " --with-sysroot=${STAGING_DIR_NATIVE}" +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}/${HOST_SYS}-libtool +} |