This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Drop references to obsolete MinGW 1.x (gcc 2.95)
[perl5.git] / win32 / FindExt.pm
index 3f12a23..fe1febd 100644 (file)
@@ -88,6 +88,9 @@ sub find_ext
         $this_ext =~ s!-!/!g;
         $leaf =~ s/.*-//;
 
+       # Temporary hack to cope with smokers that are not clearing directories:
+        next if $ext{$this_ext};
+
         if (has_xs_or_c("$ext_dir$item")) {
             $ext{$this_ext} = $static{$this_ext} ? 'static' : 'dynamic';
         } else {