summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2007-03-04 22:58:29 +0000
committerCraig A. Berry <craigberry@mac.com>2007-03-04 22:58:29 +0000
commit836b3148890b0eb05368d0a6de74ad18ea8b0514 (patch)
tree474fa6b544401ba99dfbb47e04b2d90f6b63a198 /lib
parentbf2473aa49b5d48badc82753fac75c38065f1aa0 (diff)
downloadperl-836b3148890b0eb05368d0a6de74ad18ea8b0514.tar.gz
Use linker flags rather than compiler flags in ExtUtils::Liblist::Kid::_vms_ext
when determining whether the perlshr library was linked debug. Also submitted to CPAN RT queue at <http://rt.cpan.org/Ticket/Display.html?id=25268>. p4raw-id: //depot/perl@30462
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/Liblist/Kid.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ExtUtils/Liblist/Kid.pm b/lib/ExtUtils/Liblist/Kid.pm
index 2f8e527e6a..b1d42369d2 100644
--- a/lib/ExtUtils/Liblist/Kid.pm
+++ b/lib/ExtUtils/Liblist/Kid.pm
@@ -10,7 +10,7 @@ use 5.00503;
use strict;
use vars qw($VERSION);
-$VERSION = 1.32;
+$VERSION = 1.32_01;
use Config;
use Cwd 'cwd';
@@ -376,8 +376,7 @@ sub _vms_ext {
$verbose ||= 0;
my(@crtls,$crtlstr);
- my($dbgqual) = $self->{OPTIMIZE} || $Config{'optimize'} ||
- $self->{CCFLAGS} || $Config{'ccflags'};
+ my($dbgqual) = $self->{'ldflags'} . $Config{'ldflags'};
@crtls = ( ($dbgqual =~ m-/Debug-i ? $Config{'dbgprefix'} : '')
. 'PerlShr/Share' );
push(@crtls, grep { not /\(/ } split /\s+/, $Config{'perllibs'});