change#4236 fallout
Gurusamy Sarathy [Tue, 28 Sep 1999 17:31:34 +0000 (17:31 +0000)]
p4raw-link: @4236 on //depot/perl: 045453ec55d824e77191d868f07b6aa6ada39395

p4raw-id: //depot/perl@4245

lib/ExtUtils/MM_Unix.pm

index 5e12773..8824076 100644 (file)
@@ -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|$)//;