Explorar o código

cpan_build.bbclass: tell Module::Build the replacement

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)

(From OE-Core rev: 306435507c4790ec44f30cd3c7fa7d340b441ec4)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jens Rehsack %!s(int64=7) %!d(string=hai) anos
pai
achega
a34850f703
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      meta/classes/cpan_build.bbclass

+ 1 - 1
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 () {