mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Without this patch /usr/bin/libtoolize is different for each multilib since their host-triplets are different, despite there being no difference in the functionality of libtoolize itself. This change just patches out the problematic line since its just a comment for the user in help text. Ugly but solves the problem. This fixes issues where libtool and libXX-libtool couldn't be installed into the same system. (From OE-Core rev: f70040fd3ca3508d33ed24c749c0b8095b020dab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.0 KiB
BlitzBasic
35 lines
1.0 KiB
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
SRC_URI += "file://multilib.patch"
|
|
|
|
RDEPENDS_${PN} += "bash"
|
|
|
|
#
|
|
# We want the results of libtool-cross preserved - don't stage anything ourselves.
|
|
#
|
|
SYSROOT_DIRS_BLACKLIST += " \
|
|
${bindir} \
|
|
${datadir}/aclocal \
|
|
${datadir}/libtool/build-aux \
|
|
"
|
|
|
|
ACLOCALEXTRAPATH_class-target = ""
|
|
|
|
do_install_append () {
|
|
sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \
|
|
-e "s@${DEBUG_PREFIX_MAP}@@g" \
|
|
-e 's@${STAGING_DIR_HOST}@@g' \
|
|
-e 's@${STAGING_DIR_NATIVE}@@g' \
|
|
-e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \
|
|
-e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \
|
|
-e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \
|
|
-e 's@^\(predep_objects="\).*@\1"@' \
|
|
-e 's@^\(postdep_objects="\).*@\1"@' \
|
|
-e "s@${HOSTTOOLS_DIR}/@@g" \
|
|
-i ${D}${bindir}/libtool
|
|
}
|
|
|
|
inherit multilib_script
|
|
|
|
MULTILIB_SCRIPTS = "${PN}:${bindir}/libtool"
|