summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl
index a5ece308a0..885322f442 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -232,6 +232,11 @@ foreach my $spec (@extspec) {
# Try new style ext/Data-Dumper/ first
my $copy = $spec;
$copy =~ tr!/!-!;
+
+ # List/Util.xs lives in Scalar-List-Utils, Cwd.xs lives in PathTools
+ $copy = 'Scalar-List-Utils' if $copy eq 'List-Util';
+ $copy = 'PathTools' if $copy eq 'Cwd';
+
foreach my $dir (@ext_dirs) {
if (-d "$dir/$copy") {
$ext_pathname = "$dir/$copy";