diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-07-06 17:06:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-20 19:05:45 +0100 |
commit | 210f8047602b17103c572b23428c6276fa212da8 (patch) | |
tree | d271d03d22ef00265e44a4b9f9063978441eee8b | |
parent | 36928d2f277a0f2c4a987bcd344edd99f238b0c1 (diff) | |
download | poky-210f8047602b17103c572b23428c6276fa212da8.tar.gz |
perl: correct libpth and glibpth
Previouly there is a logic as below used to set libpth in config.sh.
libpth='@LIBDIR@ @BASELIBDIR@'
But after the below commits introduced, the above logic is dropped.
52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1
68552c3532 perl: remove the previous version of the recipe
So correct the value of libpth and glibpth to add the dropped logic
back to avoid confusing.
Before the patch(on 64bits system):
# perl -V:libpth
libpth='/usr/lib /lib';
After the patch(on 64bits system):
# perl -V:libpth
libpth='/usr/lib64 /lib64';
(From OE-Core rev: afe58be55b4efc360420a00cbcf60dd5d99ed556)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a494de43c3ccdcf7af988765ae5c3a95bc20c567)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.32.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb b/meta/recipes-devtools/perl/perl_5.32.1.bb index b28040c7fb..f8893af3e2 100644 --- a/meta/recipes-devtools/perl/perl_5.32.1.bb +++ b/meta/recipes-devtools/perl/perl_5.32.1.bb | |||
@@ -62,6 +62,8 @@ do_configure_class-target() { | |||
62 | -Dsoname=libperl.so.5 \ | 62 | -Dsoname=libperl.so.5 \ |
63 | -Dvendorprefix=${prefix} \ | 63 | -Dvendorprefix=${prefix} \ |
64 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ | 64 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ |
65 | -Dlibpth='${libdir} ${base_libdir}' \ | ||
66 | -Dglibpth='${libdir} ${base_libdir}' \ | ||
65 | ${PACKAGECONFIG_CONFARGS} | 67 | ${PACKAGECONFIG_CONFARGS} |
66 | 68 | ||
67 | #perl.c uses an ARCHLIB_EXP define to generate compile-time code that | 69 | #perl.c uses an ARCHLIB_EXP define to generate compile-time code that |