diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool_2.4.7.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool_2.4.7.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.7.bb b/meta/recipes-devtools/libtool/libtool_2.4.7.bb new file mode 100644 index 0000000000..44a4950574 --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool_2.4.7.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | require libtool-${PV}.inc | ||
2 | |||
3 | SRC_URI += "file://multilib.patch" | ||
4 | |||
5 | RDEPENDS:${PN} += "bash" | ||
6 | |||
7 | # | ||
8 | # We want the results of libtool-cross preserved - don't stage anything ourselves. | ||
9 | # | ||
10 | SYSROOT_DIRS_IGNORE += " \ | ||
11 | ${bindir} \ | ||
12 | ${datadir}/aclocal \ | ||
13 | ${datadir}/libtool/build-aux \ | ||
14 | " | ||
15 | |||
16 | ACLOCALEXTRAPATH:class-target = "" | ||
17 | |||
18 | do_install:append () { | ||
19 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ | ||
20 | -e "s@${DEBUG_PREFIX_MAP}@@g" \ | ||
21 | -e 's@${STAGING_DIR_HOST}@@g' \ | ||
22 | -e 's@${STAGING_DIR_NATIVE}@@g' \ | ||
23 | -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ | ||
24 | -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ | ||
25 | -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ | ||
26 | -e 's@^\(predep_objects="\).*@\1"@' \ | ||
27 | -e 's@^\(postdep_objects="\).*@\1"@' \ | ||
28 | -e "s@${HOSTTOOLS_DIR}/@@g" \ | ||
29 | -i ${D}${bindir}/libtool | ||
30 | } | ||
31 | |||
32 | inherit multilib_script | ||
33 | |||
34 | MULTILIB_SCRIPTS = "${PN}:${bindir}/libtool" | ||