From: Ross Burton <ross@burtonini.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] perl: don't package the host configuration
Date: Thu, 6 Feb 2020 22:07:04 +0000 [thread overview]
Message-ID: <20200206220704.1109-1-ross@burtonini.com> (raw)
From: Ross Burton <ross.burton@intel.com>
`make install` installs xconfig.h, which is the configuration of the
*build host* used when building miniperl, used to bootstrap the Perl
build.
As this changes depending on the build host, remove don't install it.
[ YOCTO #13372 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb b/meta/recipes-devtools/perl/perl_5.30.1.bb
index d4b6bb32b43..8af9dfa4a2c 100644
--- a/meta/recipes-devtools/perl/perl_5.30.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
@@ -139,6 +139,10 @@ do_install() {
# Fix up shared library
rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
+
+ # This is the native configuration for the bootstrap perl, don't need it
+ # packaged.
+ rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
}
do_install_append_class-target() {
--
2.20.1
next reply other threads:[~2020-02-06 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 22:07 Ross Burton [this message]
2020-02-06 22:16 ` [PATCH] perl: don't package the host configuration Jeremy A. Puhlman
2020-02-06 22:16 ` Alexander Kanavin
2020-02-06 22:37 ` Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200206220704.1109-1-ross@burtonini.com \
--to=ross@burtonini.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox