home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December (Special)
/
PCWorld_2005-12_Special_cd.bin
/
Bezpecnost
/
lsti
/
lsti.exe
/
framework-2.5.exe
/
aix.pm
< prev
next >
Wrap
Text File
|
2005-04-27
|
984b
|
53 lines
package Module::Build::Platform::aix;
use strict;
use Module::Build::Platform::Unix;
use vars qw(@ISA);
@ISA = qw(Module::Build::Platform::Unix);
sub need_prelink_c { 1 }
sub link_c {
my ($self, $to, $file_base) = @_;
my $cf = $self->{config};
$file_base =~ tr/"//d; # remove any quotes
my $perl_inc = File::Spec->catdir($cf->{archlibexp}, 'CORE'); #location of perl.exp
# Massage some very naughty bits in %Config
local $cf->{lddlflags} = $cf->{lddlflags};
for ($cf->{lddlflags}) {
s/\Q$(BASEEXT)\E/$file_base/;
s/\Q$(PERL_INC)\E/$perl_inc/;
}
return $self->SUPER::link_c($to, $file_base);
}
1;
__END__
=head1 NAME
Module::Build::Platform::aix - Builder class for AIX platform
=head1 DESCRIPTION
This module provides some routines very specific to the AIX
platform.
Please see the L<Module::Build> for the general docs.
=head1 AUTHOR
Ken Williams, ken@mathforum.org
=head1 SEE ALSO
perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
=cut