]> code.ossystems Code Review - openembedded-core.git/commitdiff
cpan_build.bbclass: tell Module::Build the replacement
authorJens Rehsack <rehsack@gmail.com>
Mon, 28 May 2018 18:55:09 +0000 (20:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 10:09:40 +0000 (11:09 +0100)
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.

(From OE-Core rev: f3925216b06ff7fbe21989210f8eb11e16be6631)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cpan_build.bbclass

index fac074d6101de32cea8036524be5fa8e3b184aaa..9a2ad895ef44db0a3b0ad01010596b78258e27e3 100644 (file)
@@ -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 () {