Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 450ea8b

Browse files
author
Reini Urban
committed
Term-ReadKey: special-case Makefile.PL
dont build ReadKey.pm twice
1 parent 0c27270 commit 450ea8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpan/Term-ReadKey/Makefile.PL

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ ReadKey.c: cchars.h
7676
sub MY::processPL {
7777
my $self = shift;
7878
$_ = $self->MM::processPL();
79-
s/ReadKey.pm :: ReadKey_pm.PL/ReadKey.pm :: ReadKey_pm.PL dynamic/;
79+
if (!$ENV{PERL_CORE}) {
80+
s/ReadKey.pm :: ReadKey_pm.PL/ReadKey.pm :: ReadKey_pm.PL dynamic/;
81+
}
8082
s/\$\(PERLRUN\)/\$(FULLPERLRUNINST)/;
8183
$_
8284
}

0 commit comments

Comments
 (0)