1 use ExtUtils::MakeMaker;
5 'VERSION_FROM' => 'Win32CORE.pm',
8 # undef USEIMPORTLIB for static compilation
10 package MY; # so that "SUPER" works right
11 my ($self, $libperl)=@_;
12 return '' unless $self->needs_linking();
13 my $base = $self->SUPER::cflags($libperl);
14 if ($self->{LINKTYPE} eq 'static') {
15 $base =~ s/CCFLAGS =(.*)$/CCFLAGS =\1 -UUSEIMPORTLIB /m;