1 package ExtUtils::CBuilder::Platform::darwin;
4 use ExtUtils::CBuilder::Platform::Unix;
6 use vars qw($VERSION @ISA);
8 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
12 my $cf = $self->{config};
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(@_);