1 package ExtUtils::CBuilder::Platform::cygwin;
5 use ExtUtils::CBuilder::Platform::Unix;
7 use vars qw($VERSION @ISA);
9 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
13 # $Config{ld} is set up as a special script for building
14 # perl-linkable libraries. We don't want that here.
15 local $self->{config}{ld} = 'gcc';
16 return $self->SUPER::link_executable(@_);
20 my ($self, %args) = @_;
22 $args{extra_linker_flags} = [
23 File::Spec->catdir($self->perl_inc(), 'libperl.dll.a'),
24 $self->split_like_shell($args{extra_linker_flags})
27 return $self->SUPER::link(%args);