On Mon, May 21, 2018 at 11:49 AM, Jens Rehsack <[email protected]> wrote:
> 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 <[email protected]>
> ---
> 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..c2491061fa 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 "/usr/bin/perl" verbose=1
perhaps using $[bindir} instead of hardcoding /usr/bin would be better here
> }
>
> cpan_build_do_install () {
> --
> Jens Rehsack - [email protected]
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core