diff options
author | David Mitchell <davem@iabyn.com> | 2009-06-28 00:57:45 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-06-28 00:57:45 +0100 |
commit | 673223b5b27396bd3627d91146cf8611c03c304d (patch) | |
tree | 67ef601843890de81323146aa833018b4c154f08 /lib/ExtUtils/CBuilder/Platform/Unix.pm | |
parent | 6653081c26e47ff513afff9907ee295b58e4ccd8 (diff) | |
download | perl-673223b5b27396bd3627d91146cf8611c03c304d.tar.gz |
upgrade to ExtUtils::CBuilder 0.25
Diffstat (limited to 'lib/ExtUtils/CBuilder/Platform/Unix.pm')
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/Unix.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/ExtUtils/CBuilder/Platform/Unix.pm b/lib/ExtUtils/CBuilder/Platform/Unix.pm index 9332c78cb5..5671057733 100644 --- a/lib/ExtUtils/CBuilder/Platform/Unix.pm +++ b/lib/ExtUtils/CBuilder/Platform/Unix.pm @@ -4,12 +4,15 @@ use strict; use ExtUtils::CBuilder::Base; use vars qw($VERSION @ISA); -$VERSION = '0.24'; +$VERSION = '0.25'; @ISA = qw(ExtUtils::CBuilder::Base); sub link_executable { my $self = shift; - # $Config{cc} is usually a better bet for linking executables than $Config{ld} + + # On some platforms (which ones??) $Config{cc} seems to be a better + # bet for linking executables than $Config{ld}. Cygwin is a notable + # exception. local $self->{config}{ld} = $self->{config}{cc} . " " . $self->{config}{ldflags}; return $self->SUPER::link_executable(@_); |