summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-07-15 16:58:08 +0200
committerNicholas Clark <nick@ccl4.org>2013-07-15 16:58:08 +0200
commit1eb538361b7dacd6bfb54d58fe1bee46f40a9479 (patch)
treea7d07d333f3f22dac3879b9da929689a96437da8 /lib
parent5ff367e3adebb498f83a7ed1d2d73e78b6305e09 (diff)
downloadperl-1eb538361b7dacd6bfb54d58fe1bee46f40a9479.tar.gz
ExtUtils::Embed::canon needs to *globally* substitute / for $as
Otherwise the results are buggy for package names with two or more separators. This bug broke a -Uusedl build, once ExtUtils::Embed was refactored to use the existing but always-buggy functionality.
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/Embed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm
index 0e3cbbe6ce..05925cf818 100644
--- a/lib/ExtUtils/Embed.pm
+++ b/lib/ExtUtils/Embed.pm
@@ -271,7 +271,7 @@ sub canon {
s!/\w+\.\w+$!!;
}
if ($as ne '/') {
- s!/!$as!
+ s!/!$as!g
foreach @ext;
}
@ext;