diff options
author | Gerrit P. Haase <gp@familiehaase.de> | 2002-01-27 23:30:41 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-27 22:36:08 +0000 |
commit | b53432e421f16fabc5e5530a1e2ce8c38d941676 (patch) | |
tree | 385555d9e411d81aab96e2b608779032e1a61d67 /lib/ExtUtils/MM_Cygwin.pm | |
parent | 9034b73c39ba035933bec3984d6d794720dc58e1 (diff) | |
download | perl-b53432e421f16fabc5e5530a1e2ce8c38d941676.tar.gz |
Bleadperl on Cygwin today
Message-ID: <462007239437.20020127223041@familiehaase.de>
p4raw-id: //depot/perl@14453
Diffstat (limited to 'lib/ExtUtils/MM_Cygwin.pm')
-rw-r--r-- | lib/ExtUtils/MM_Cygwin.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Cygwin.pm b/lib/ExtUtils/MM_Cygwin.pm index 3d03d321f3..50463fb33f 100644 --- a/lib/ExtUtils/MM_Cygwin.pm +++ b/lib/ExtUtils/MM_Cygwin.pm @@ -86,7 +86,14 @@ q[-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "], sub perl_archive { + if ($Config{useshrplib} eq 'true') + { + my $libperl = '$(PERL_INC)' .'/'. "$Config{libperl}"; + $libperl =~ s/a$/dll.a/; + return $libperl; + } else { return '$(PERL_INC)' .'/'. ("$Config{libperl}" or "libperl.a"); + } } 1; |