diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool-native_2.4.2.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool-native_2.4.2.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb new file mode 100644 index 0000000000..f12e6a15ea --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | require libtool-${PV}.inc | ||
2 | |||
3 | DEPENDS = "" | ||
4 | |||
5 | PR = "${INC_PR}.0" | ||
6 | SRC_URI += "file://prefix.patch" | ||
7 | |||
8 | inherit native | ||
9 | |||
10 | EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}" | ||
11 | |||
12 | do_configure_prepend () { | ||
13 | # Remove any existing libtool m4 since old stale versions would break | ||
14 | # any upgrade | ||
15 | rm -f ${STAGING_DATADIR}/aclocal/libtool.m4 | ||
16 | rm -f ${STAGING_DATADIR}/aclocal/lt*.m4 | ||
17 | } | ||
18 | |||
19 | do_install () { | ||
20 | autotools_do_install | ||
21 | install -d ${D}${bindir}/ | ||
22 | install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool | ||
23 | } | ||
24 | |||