summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-25 20:46:36 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-25 20:46:36 +0100
commit4d33dfde6c2d9f2fd0a0031d2360c4dbbbcd6b33 (patch)
treeff5a6e75b3af6074ef8b3b2a3de12ea2d631d857 /win32
parent914d9b2e2d3693a8dcc1cd21e5c25efc641f76b6 (diff)
downloadperl-4d33dfde6c2d9f2fd0a0031d2360c4dbbbcd6b33.tar.gz
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.)
Diffstat (limited to 'win32')
-rw-r--r--win32/FindExt.pm3
1 files changed, 3 insertions, 0 deletions
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 {