mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
(From OE-Core rev: 83cdfd77b1b48f2bd648d3a5991eadb7f01f647e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
808 B
BlitzBasic
25 lines
808 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
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 \
|
|
"
|
|
|
|
do_install_append () {
|
|
sed -e 's@--sysroot=${STAGING_DIR_HOST}@@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"@' \
|
|
-i ${D}${bindir}/libtool
|
|
}
|