ExtUtils-LibBuilder
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/ExtUtils/LibBuilder.pm view on Meta::CPAN
Also, note that you can use the C<exeext> key to retrieve from the
object the common executable extension on the running system
(including the dot).
=cut
sub new {
my $class = shift;
my %options = @_;
my $self = bless ExtUtils::CBuilder->new(%options) => $class;
# $self->{quiet} = 1;
$self->{libext} = $^O eq "darwin" ? ".dylib" : ( $^O =~ /win/i ? ".dll" : ".so");
$self->{exeext} = $^O =~ /win32/i ? ".exe" : "";
$DEBUG && print STDERR "\nTesting Linux\n\n";
return $self if $^O !~ /darwin|win32/i && $self->_try;
$DEBUG && print STDERR "\nTesting Darwin\n\n";
$self->{config}{lddlflags} =~ s/-bundle/-dynamiclib/;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.171 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )