From: Nicholas Clark Date: Fri, 25 Sep 2009 19:46:36 +0000 (+0100) Subject: Don't process (apparent) duplicate extension directories. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4d33dfde6c2d9f2fd0a0031d2360c4dbbbcd6b33;p=p5sagit%2Fp5-mst-13.2.git Don't process (apparent) duplicate extension directories. (Another work-around for smokers that are not clearing directories. Without this vestigial directories in ext/ are treated as nonxs extensions, and as ext/ is scanned after cpan/, that classification overrides the truth.) --- diff --git a/win32/FindExt.pm b/win32/FindExt.pm index 3f12a23..fe1febd 100644 --- a/win32/FindExt.pm +++ b/win32/FindExt.pm @@ -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 {