X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=installperl;h=b89990b9cbd42a9fde2b4c655eebfea71a74913c;hb=1cd66f7c5bbf47a0c9c6f45b3eae3670bbe447db;hp=dd617271b8f2f164ae0806089cb648b25e980bcb;hpb=a8715f61d888f9a9954f9c447388964297604820;p=p5sagit%2Fp5-mst-13.2.git diff --git a/installperl b/installperl index dd61727..b89990b 100755 --- a/installperl +++ b/installperl @@ -54,6 +54,7 @@ use File::Compare; use File::Copy (); use File::Path (); use ExtUtils::Packlist; +use Cwd; use Config; use subs qw(unlink link chmod); @@ -282,42 +283,11 @@ if (($Is_W32 and ! $Is_NetWare) or $Is_Cygwin) { if ($Is_Cygwin) { $perldll = $libperl; - my $v_e_r_s = $ver; $v_e_r_s =~ tr/./_/; + my $v_e_r_s = substr($ver,0,-2); $v_e_r_s =~ tr/./_/; $perldll =~ s/(\..*)?$/$v_e_r_s.$dlext/; $perldll =~ s/^lib/cyg/; - if ($Config{useshrplib} eq 'true') { - # install ld2 and perlld as well - foreach ('ld2', 'perlld') { - safe_unlink("$installbin/$_"); - copy("$_", "$installbin/$_"); - chmod(0755, "$installbin/$_"); - $packlist->{"$installbin/$_"} = { type => 'file' }; - }; - open (LD2, ">$installbin/ld2"); - print LD2 <