<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package ExtUtils::CBuilder::Platform::aix;

use warnings;
use strict;
use ExtUtils::CBuilder::Platform::Unix;
use File::Spec;

our $VERSION = '0.280236'; # VERSION
our @ISA = qw(ExtUtils::CBuilder::Platform::Unix);

sub need_prelink { 1 }

sub link {
  my ($self, %args) = @_;
  my $cf = $self-&gt;{config};

  (my $baseext = $args{module_name}) =~ s/.*:://;
  my $perl_inc = $self-&gt;perl_inc();

  # Massage some very naughty bits in %Config
  local $cf-&gt;{lddlflags} = $cf-&gt;{lddlflags};
  for ($cf-&gt;{lddlflags}) {
    s/\Q$(BASEEXT)\E/$baseext/;
    s/\Q$(PERL_INC)\E/$perl_inc/;
  }

  return $self-&gt;SUPER::link(%args);
}


1;
</pre></body></html>