From: Gurusamy Sarathy Date: Tue, 28 Sep 1999 17:31:34 +0000 (+0000) Subject: change#4236 fallout X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a689d17c141724192b54fa97a3c59fafae045cf3;p=p5sagit%2Fp5-mst-13.2.git change#4236 fallout p4raw-link: @4236 on //depot/perl: 045453ec55d824e77191d868f07b6aa6ada39395 p4raw-id: //depot/perl@4245 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 5e12773..8824076 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -377,7 +377,7 @@ sub cflags { if ($Is_PERL_OBJECT) { $self->{CCFLAGS} =~ s/-DPERL_OBJECT(\b|$)/-DPERL_CAPI/g; - if ($Is_Win32 && $Config{'cc'} =~ /^cl.exe/i) { + if ($Is_Win32 && $Config{'cc'} =~ /^cl/i) { # Turn off C++ mode of the MSC compiler $self->{CCFLAGS} =~ s/-TP(\s|$)//; $self->{OPTIMIZE} =~ s/-TP(\s|$)//;