All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perl: fix startperl configuration option for perl-native
@ 2021-04-16 22:28 paulo.zaneti
  2021-04-17 15:01 ` [OE-core] " Khem Raj
  2021-04-17 22:46 ` Richard Purdie
  0 siblings, 2 replies; 9+ messages in thread
From: paulo.zaneti @ 2021-04-16 22:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Paulo Cesar Zaneti

Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".

This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.

Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
---
 meta/recipes-devtools/perl/perl_5.32.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb b/meta/recipes-devtools/perl/perl_5.32.1.bb
index b28040c7fb..82c2922066 100644
--- a/meta/recipes-devtools/perl/perl_5.32.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.32.1.bb
@@ -95,6 +95,7 @@ do_configure_class-nativesdk() {
 do_configure_class-native() {
     ./configure --prefix=${prefix} \
     -Dbin=${bindir}/perl-native \
+    -Dperlpath=${bindir}/perl-native/perl \
     -Duseshrplib \
     -Dsoname=libperl.so.5 \
     -Dvendorprefix=${prefix} \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-03 22:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 22:28 [PATCH] perl: fix startperl configuration option for perl-native paulo.zaneti
2021-04-17 15:01 ` [OE-core] " Khem Raj
2021-04-19  7:48   ` Naveen Saini
2021-04-19 14:13     ` Paulo Cesar Zaneti
2021-04-30 20:42       ` [OE-core] " Peter Kjellerstedt
2021-05-03 19:55         ` Otavio Salvador
2021-05-03 20:03           ` Paulo Cesar Zaneti
2021-05-03 22:10         ` Paulo Cesar Zaneti
2021-04-17 22:46 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.