diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-04-27 09:35:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-05 11:07:25 +0100 |
commit | 2e84bb1971d1b9511f26d5ff885fdb5f5c09a788 (patch) | |
tree | 75162fd4e2aeb4e046fa89a27ce8b72c01d90bf7 /meta/recipes-devtools/perl | |
parent | 3f89c3ffdc60141a04f87b2a93bac716b02e215a (diff) | |
download | poky-2e84bb1971d1b9511f26d5ff885fdb5f5c09a788.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.36.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl/perl_5.36.0.bb index 4d8a919d1e..b8dba00f18 100644 --- a/meta/recipes-devtools/perl/perl_5.36.0.bb +++ b/meta/recipes-devtools/perl/perl_5.36.0.bb | |||
@@ -109,6 +109,10 @@ do_configure:class-native() { | |||
109 | -Ui_xlocale \ | 109 | -Ui_xlocale \ |
110 | -Alddlflags=' ${LDFLAGS}' \ | 110 | -Alddlflags=' ${LDFLAGS}' \ |
111 | ${PACKAGECONFIG_CONFARGS} | 111 | ${PACKAGECONFIG_CONFARGS} |
112 | |||
113 | # This prevents leakage of build paths into perl-native binaries, which | ||
114 | # causes non-deterministic troubles when those paths no longer exist or aren't accessible. | ||
115 | sed -i -e "s,${STAGING_LIBDIR},/completelyboguspath,g" config.h | ||
112 | } | 116 | } |
113 | 117 | ||
114 | do_configure:append() { | 118 | do_configure:append() { |