Install POD files into "lib\pods" rather than "lib\pod" on Win32
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / CBuilder / Platform / darwin.pm
CommitLineData
6b09c160 1package ExtUtils::CBuilder::Platform::darwin;
2
3use strict;
4use ExtUtils::CBuilder::Platform::Unix;
5
6use vars qw($VERSION @ISA);
345dbb93 7$VERSION = '0.12';
6b09c160 8@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
9
10sub 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
221;