51b5cf20bb
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
17 lines
535 B
Diff
17 lines
535 B
Diff
|
|
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
|
|
|
Index: b/cpan/Module-Build/lib/Module/Build/Base.pm
|
|
===================================================================
|
|
--- a/cpan/Module-Build/lib/Module/Build/Base.pm
|
|
+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
|
|
@@ -456,7 +456,7 @@
|
|
my $proto = shift;
|
|
my $c = ref($proto) ? $proto->{config} : 'Module::Build::Config';
|
|
|
|
- my $perl = $^X;
|
|
+ my $perl = $ENV{RUN_PERL} || $^X;
|
|
my $perl_basename = File::Basename::basename($perl);
|
|
|
|
my @potential_perls;
|