(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.
$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';