diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-08 22:38:46 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-08 22:38:46 +0100 |
commit | 753cab9b78a668a1a4b06f330de228523607d910 (patch) | |
tree | ae8f679623243adb993ff802553097a54da0eb6d /win32 | |
parent | 6afd19bc36bc53869c8b2366fb22deb141c4156e (diff) | |
download | perl-753cab9b78a668a1a4b06f330de228523607d910.tar.gz |
win32/FindExt.pm thought that ext/List-Util was a nonxs extension.
(It needed a change analogous to 75cdbdc152433e4b - prior to that, Configure
was looking for ext/$dir/$leaf.xs, which was no longer a valid test after the
upgrade to Scalar-List-Utils 1.21 (2ff286160a117d4e), which renamed Utils.xs
to ListUtil.xs)
win32/FindExt.pm still considers IO-Compress as a nonxs extension.
Configure was special-cased to treat this as dynamic (ie architecture
specific) in 4cc80fc4cbbd82e2.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/FindExt.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/FindExt.pm b/win32/FindExt.pm index da02761e1c..7c998147eb 100644 --- a/win32/FindExt.pm +++ b/win32/FindExt.pm @@ -78,7 +78,8 @@ sub find_ext $this_ext =~ s!-!/!g; $leaf =~ s/.*-//; - if (-f "$ext_dir$item/$leaf.xs" || -f "$ext_dir$item/$leaf.c" ) { + my @files = glob "$ext_dir$item/*.{xs,c}"; + if (@files) { $ext{$this_ext} = $static{$this_ext} ? 'static' : 'dynamic'; } else { $ext{$this_ext} = 'nonxs'; |