diff options
Diffstat (limited to 'lib/ExtUtils/MM_Win32.pm')
-rw-r--r-- | lib/ExtUtils/MM_Win32.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ExtUtils/MM_Win32.pm b/lib/ExtUtils/MM_Win32.pm index 004694c15b..d05c87054b 100644 --- a/lib/ExtUtils/MM_Win32.pm +++ b/lib/ExtUtils/MM_Win32.pm @@ -430,10 +430,8 @@ banner. sub pasthru { my($self) = shift; - my $pasthru = $self->SUPER::pasthru(); - $pasthru =~ s/PASTHRU\s*=\s*/PASTHRU = -nologo / if $NMAKE; - return $pasthru; - } + return "PASTHRU = " . ($NMAKE ? "-nologo" : ""); +} =item oneliner (o) |