diff options
Diffstat (limited to 'utils/perlcc.PL')
-rw-r--r-- | utils/perlcc.PL | 2 |
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; |