summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-05 06:56:05 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-05 06:56:05 +0000
commit0a9fdc5d26a453a78e950d4bdaa9da4ed9ede5af (patch)
tree06ef6a5ce0c7c6702853ac8d86d62c115d9b2f05 /utils
parentca4e74cd17dd8fd078f5c9ea0630da36c21a54a6 (diff)
downloadperl-0a9fdc5d26a453a78e950d4bdaa9da4ed9ede5af.tar.gz
cygwin support tweaks (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4755
Diffstat (limited to 'utils')
-rw-r--r--utils/perlcc.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/perlcc.PL b/utils/perlcc.PL
index 734b20a667..24eb0b30c3 100644
--- a/utils/perlcc.PL
+++ b/utils/perlcc.PL
@@ -376,6 +376,8 @@ sub _ccharness
}
my $libs = _getSharedObjects($sourceprog);
+ @$libs = grep { !(/DynaLoader\.a$/ && ($dynaloader = $_)) } @$libs
+ if($^O =~ /cygwin/i);
my $ccflags = $Config{ccflags};
$ccflags .= ' -DUSEIMPORTLIB' if $Config{osname} =~ /cygwin/i;