From 4d33dfde6c2d9f2fd0a0031d2360c4dbbbcd6b33 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 25 Sep 2009 20:46:36 +0100 Subject: 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.) --- win32/FindExt.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/FindExt.pm') diff --git a/win32/FindExt.pm b/win32/FindExt.pm index 3f12a23322..fe1febd839 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 { -- cgit v1.2.1