This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update to ExtUtils::CBuilder 0.280226
[perl5.git] / dist / ExtUtils-CBuilder / lib / ExtUtils / CBuilder / Platform / dec_osf.pm
1 package ExtUtils::CBuilder::Platform::dec_osf;
2 $ExtUtils::CBuilder::Platform::dec_osf::VERSION = '0.280226';
3 use warnings;
4 use strict;
5 use ExtUtils::CBuilder::Platform::Unix;
6 use File::Spec;
7
8 use vars qw(@ISA);
9 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
10
11 sub link_executable {
12   my $self = shift;
13   # $Config{ld} is 'ld' but that won't work: use the cc instead.
14   local $self->{config}{ld} = $self->{config}{cc};
15   return $self->SUPER::link_executable(@_);
16 }
17
18 1;