Message-Id: <
428F9805.70108@gmail.com>
p4raw-id: //depot/perl@24537
lib/ExtUtils/CBuilder/Platform/aix.pm CBuilder methods for AIX
lib/ExtUtils/CBuilder/Platform/cygwin.pm CBuilder methods for cygwin
lib/ExtUtils/CBuilder/Platform/darwin.pm CBuilder methods for darwin
+lib/ExtUtils/CBuilder/Platform/dec_osf.pm CBuilder methods for OSF
lib/ExtUtils/CBuilder/Platform/os2.pm CBuilder methods for OS/2
lib/ExtUtils/CBuilder/Platform/Unix.pm CBuilder methods for Unix
lib/ExtUtils/CBuilder/Platform/VMS.pm CBuilder methods for VMS
--- /dev/null
+package ExtUtils::CBuilder::Platform::dec_osf;
+
+use strict;
+use ExtUtils::CBuilder::Platform::Unix;
+use File::Spec;
+
+use vars qw(@ISA);
+@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
+
+sub link_executable {
+ my $self = shift;
+ # $Config{ld} is 'ld' but that won't work: use the cc instead.
+ local $self->{config}{ld} = $self->{config}{cc};
+ return $self->SUPER::link_executable(@_);
+}
+
+1;