From: Jens Rehsack Date: Mon, 28 May 2018 18:55:09 +0000 (+0200) Subject: cpan_build.bbclass: tell Module::Build the replacement X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17705 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306435507c4790ec44f30cd3c7fa7d340b441ec4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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) Signed-off-by: Jens Rehsack Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass index fac074d6101..9a2ad895ef4 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 () {