| 1 | package ExtUtils::CBuilder::Platform::dec_osf; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use ExtUtils::CBuilder::Platform::Unix; | ||
| 5 | use File::Spec; | ||
| 6 | |||
| 7 | use vars qw($VERSION @ISA); | ||
| 8 | @ISA = qw(ExtUtils::CBuilder::Platform::Unix); | ||
| 9 | $VERSION = '0.24_01'; | ||
| 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; |