mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
perl: patch out build paths from native binaries
(From OE-Core rev: 8f47d5cb79758d5b2a296759bd4806f85f739b90) 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> (cherry picked from commit 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
649debbc4f
commit
96a7cf3331
@@ -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