This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix "[perl #34643] Config_heavy.pl not in archlib"
[perl5.git] / installperl
index 1bdf250..04ae476 100755 (executable)
@@ -818,7 +818,8 @@ sub installlib {
     my $installlib = $installprivlib;
     if ($dir =~ /^auto/ ||
          ($name =~ /^(.*)\.(?:pm|pod)$/ && $archpms{$1}) ||
     my $installlib = $installprivlib;
     if ($dir =~ /^auto/ ||
          ($name =~ /^(.*)\.(?:pm|pod)$/ && $archpms{$1}) ||
-         ($name =~ /^(.*)\.(?:h|lib)$/i && ($Is_W32 || $Is_NetWare))
+         ($name =~ /^(.*)\.(?:h|lib)$/i && ($Is_W32 || $Is_NetWare)) ||
+         $name eq 'Config_heavy.pl'
        ) {
        $installlib = $installarchlib;
        return unless $do_installarchlib;
        ) {
        $installlib = $installarchlib;
        return unless $do_installarchlib;