This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make_ext.pl should use current Perl to run Makefile.PL
[perl5.git] / make_ext.pl
index 0280a02..87f8bf3 100644 (file)
@@ -523,6 +523,7 @@ EOM
                'INSTALLMAN3DIR=none';
        }
        push @args, @$pass_through;
+       push @args, 'PERL=' . $perl if $perl; # use miniperl to run the Makefile later
        _quote_args(\@args) if IS_VMS;
        print join(' ', $perl, @args), "\n" if $verbose;
        my $code = do {