Craig A. Berry [Sun, 4 Mar 2007 22:58:29 +0000 (22:58 +0000)]
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
use strict;
use vars qw($VERSION);
-$VERSION = 1.32;
+$VERSION = 1.32_01;
use Config;
use Cwd 'cwd';
$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'});