Skip to content

Commit bdc8dcf

Browse files
Leontbingos
authored andcommitted
Always link to $Config{libs} on cygwin
1 parent 0b20bc5 commit bdc8dcf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/ExtUtils/MM_Cygwin.pm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ sub init_linker {
100100
$self->{EXPORT_LIST} ||= '';
101101
}
102102

103+
sub init_others {
104+
my $self = shift;
105+
106+
$self->SUPER::init_others;
107+
108+
$self->{LDLOADLIBS} ||= $Config{perllibs};
109+
110+
return;
111+
}
112+
103113
=item maybe_command
104114
105115
Determine whether a file is native to Cygwin by checking whether it

0 commit comments

Comments
 (0)