summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-07-06 17:06:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-07 11:39:42 +0100
commiteefa206741cfcf5389472c83a79dc64b96102e28 (patch)
tree901665ef785117bfbca8b36808031644f5ae0e3b /meta/recipes-devtools/perl
parent6c3048f4ac26e929538ad9c0643b6a07929f1c55 (diff)
downloadpoky-eefa206741cfcf5389472c83a79dc64b96102e28.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: a494de43c3ccdcf7af988765ae5c3a95bc20c567) Signed-off-by: Mingli Yu <mingli.yu@windriver.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.34.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb b/meta/recipes-devtools/perl/perl_5.34.0.bb
index 7935a58723..434535c5ee 100644
--- a/meta/recipes-devtools/perl/perl_5.34.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.34.0.bb
@@ -53,6 +53,8 @@ do_configure_class-target() {
53 -Dsoname=libperl.so.5 \ 53 -Dsoname=libperl.so.5 \
54 -Dvendorprefix=${prefix} \ 54 -Dvendorprefix=${prefix} \
55 -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ 55 -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \
56 -Dlibpth='${libdir} ${base_libdir}' \
57 -Dglibpth='${libdir} ${base_libdir}' \
56 ${PACKAGECONFIG_CONFARGS} 58 ${PACKAGECONFIG_CONFARGS}
57 59
58 #perl.c uses an ARCHLIB_EXP define to generate compile-time code that 60 #perl.c uses an ARCHLIB_EXP define to generate compile-time code that