Subject: | Using cl as the linker when using MS compiler |
In lib/Alien/wxWidgets/Utility.pm
my $b = ExtUtils::CBuilder->new( config => { cc => $cc, ld => $cc },
quiet => 1,
);
is wrong when using MS's tools. The linker is different than the
compiler. I worked around it by doing
my $b = ExtUtils::CBuilder->new( config => { cc => $cc, ld => $cc eq
'cl' ? 'link' : $cc },
quiet => 1,
);
But it still seems very wrong to me. Why do you specify a compiler and
linker, but take the compiler and linker options from Config.pm?