mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
libtool was being to aggressive in adding rpath to binaries. This change stops it adding them if that path the default search path. (From OE-Core rev: 99d1e3ee56c326b3ab68913e68d133a63f334696) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
357 B
BlitzBasic
16 lines
357 B
BlitzBasic
require libtool-${PV}.inc
|
|
|
|
PR = "r4"
|
|
|
|
#
|
|
# We want the results of libtool-cross preserved - don't stage anything ourselves.
|
|
#
|
|
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
|
|
|
|
libtool_sysroot_preprocess () {
|
|
rm -rf ${SYSROOT_DESTDIR}${bindir}/*
|
|
rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
|
|
rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/config/*
|
|
}
|
|
|