[OE-core] [PATCH 2/2] cpan_build.bbclass: tell Module::Build the replacement

Jens Rehsack rehsack at gmail.com
Mon May 28 18:55:09 UTC 2018


Instead of patching Module::Build, maybe Module::Build::Tiny and all other
similar tools, use the official way to tell them which is the target perl
on target.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 meta/classes/cpan_build.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index fac074d610..9a2ad895ef 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -30,7 +30,7 @@ cpan_build_do_configure () {
 }

 cpan_build_do_compile () {
-        perl Build verbose=1
+        perl Build --perl "${bindir}/perl" verbose=1
 }

 cpan_build_do_install () {
--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180528/b4cae067/attachment-0002.sig>


More information about the Openembedded-core mailing list