| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /usr/share/perl5/ExtUtils/CBuilder/Platform/ |
| Current File : //usr/share/perl5/ExtUtils/CBuilder/Platform/darwin.pm |
package ExtUtils::CBuilder::Platform::darwin;
use strict;
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
$VERSION = '0.27';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub compile {
my $self = shift;
my $cf = $self->{config};
# -flat_namespace isn't a compile flag, it's a linker flag. But
# it's mistakenly in Config.pm as both. Make the correction here.
local $cf->{ccflags} = $cf->{ccflags};
$cf->{ccflags} =~ s/-flat_namespace//;
$self->SUPER::compile(@_);
}
1;