summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/MM_Cygwin.pm
diff options
context:
space:
mode:
authorGerrit P. Haase <gp@familiehaase.de>2002-01-27 23:30:41 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-27 22:36:08 +0000
commitb53432e421f16fabc5e5530a1e2ce8c38d941676 (patch)
tree385555d9e411d81aab96e2b608779032e1a61d67 /lib/ExtUtils/MM_Cygwin.pm
parent9034b73c39ba035933bec3984d6d794720dc58e1 (diff)
downloadperl-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.pm7
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;