mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
perl: patch out build paths from native binaries
(From OE-Core rev: 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3f89c3ffdc
commit
2e84bb1971
@@ -109,6 +109,10 @@ do_configure:class-native() {
|
||||
-Ui_xlocale \
|
||||
-Alddlflags=' ${LDFLAGS}' \
|
||||
${PACKAGECONFIG_CONFARGS}
|
||||
|
||||
# This prevents leakage of build paths into perl-native binaries, which
|
||||
# causes non-deterministic troubles when those paths no longer exist or aren't accessible.
|
||||
sed -i -e "s,${STAGING_LIBDIR},/completelyboguspath,g" config.h
|
||||
}
|
||||
|
||||
do_configure:append() {
|
||||
|
||||
Reference in New Issue
Block a user