Message-ID: <
3F2F7C55.9020808@uk.radan.com>
(The MM_Unix.pm part was dealt with in #20501.)
p4raw-id: //depot/perl@20502
sub pasthru {
my($self) = shift;
- return "PASTHRU = " . ($NMAKE ? "-nologo" : "");
-}
+ my $pasthru = $self->SUPER::pasthru();
+ $pasthru =~ s/PASTHRU\s*=\s*/PASTHRU = -nologo / if $NMAKE;
+ return $pasthru;
+ }
=item oneliner (o)
# pasthru()
{
- my $pastru = "PASTHRU = " . ($Config{make} =~ /^nmake/i ? "-nologo" : "");
- is( $MM->pasthru(), $pastru, 'pasthru()' );
+ my $pasthru = ($Config{make} =~ /^nmake/i ? "/-nologo/" : "");
+ like( $MM->pasthru(), $pasthru, 'pasthru()' );
}
package FakeOut;