Re: [Module::Build] make test failure report (Cygwin)
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-10-11 17:57:53
|
On Saturday, October 11, 2003, at 11:15 AM, Randy W. Sims wrote:
> Ok. It took a loooooonnnnnnnnngggggggg time--*TWICE*, but I finally
> got a working Cygwin & Perl. And Cygwin is very slow on my system, as
> in it took nearly an hour to run './Build test', so please have
> patience.
>
> I've hacked the attached file which gets nearly everything working.
Hi Randy, me again.
Here's a simpler version of the subroutine which should also work:
sub link_c {
my $self = shift;
my ($cf, $p) = ($self->{config}, $self->{properties}); # For
convenience
my $flags = $p->{extra_linker_flags};
local $p->{extra_linker_flags} =
['-L'.File::Spec->catdir($cf->{archlibexp}, 'CORE'),
'-lperl',
ref $flags ? @$flags : $self->split_like_shell($flags)];
return $self->SUPER::link_c(@_);
}
-Ken
|