summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2020-03-11 11:15:26 -0600
committerKarl Williamson <khw@cpan.org>2020-03-11 12:42:44 -0600
commit85e384a62bdaf2327f4a00c1d29751969c326b8b (patch)
tree3c685a6abf7142e123d53d1803e8c0faa6439f36 /make_ext.pl
parent24f3e849b5ce9f3bf6b6be5d3e730562e927aa79 (diff)
downloadperl-85e384a62bdaf2327f4a00c1d29751969c326b8b.tar.gz
make_ext.pl should use current Perl to run Makefile.PL
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 0280a027cf..87f8bf3b28 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -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 {