blib/lib/ExtUtils/CBuilder/Platform/darwin.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
compile
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ExtUtils::CBuilder::Platform::darwin;
2  
3 use strict;
4 use ExtUtils::CBuilder::Platform::Unix;
5  
6 use vars qw($VERSION @ISA);
7 $VERSION = '0.24_01';
8 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
9  
10 sub compile {
11 my $self = shift;
12 my $cf = $self->{config};
13  
14 # -flat_namespace isn't a compile flag, it's a linker flag. But
15 # it's mistakenly in Config.pm as both. Make the correction here.
16 local $cf->{ccflags} = $cf->{ccflags};
17 $cf->{ccflags} =~ s/-flat_namespace//;
18 $self->SUPER::compile(@_);
19 }
20  
21  
22 1;