summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-26 22:31:39 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-26 22:31:39 +0000
commit57df1c468e05e45edf53d40e2f69405d00856909 (patch)
treef8ac055dbba867d84dad622e3420dd80646bf7fc /make_ext.pl
parentac62bc6fc9af2f4dca6b1ec668aab128962700d8 (diff)
downloadperl-57df1c468e05e45edf53d40e2f69405d00856909.tar.gz
6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl
index f74124ca42..d0dcfbfd99 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -82,6 +82,9 @@ foreach (@extspec) {
} elsif (s{^ext/}{}) {
# Remove ext/ prefix and /pm_to_blib suffix
s{/pm_to_blib$}{};
+ # Targets are given as files on disk, but the extension spec is still
+ # written using /s for each ::
+ tr!-!/!;
} elsif (s{::}{\/}g) {
# Convert :: to /
} else {