blob: 26b15e4011e194a38a4623b41c0e3e58cba278e9 [file] [log] [blame]
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;