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>
This commit is contained in:
Jens Rehsack
2018-05-28 20:55:09 +02:00
committed by Richard Purdie
parent 73daeda22d
commit a34850f703

View 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 () {