Ticket #44393: patch-CheckLib.pm.diff

File patch-CheckLib.pm.diff, 509 bytes (added by mf2k (Frank Schima), 10 years ago)
  • inc/Devel/CheckLib.pm

    old new  
    332332}
    333333   
    334334sub _findcc {
     335    my @cc = split(/\s+/, $ENV{CC});
     336    return @cc if -x $cc[0];
    335337    # Need to use $keep=1 to work with MSWin32 backslashes and quotes
    336338    my @Config_ccflags_ldflags =  @Config{qw(ccflags ldflags)};  # use copy so ASPerl will compile
    337339    my @flags = grep { length } map { quotewords('\s+', 1, $_ || ()) } @Config_ccflags_ldflags;