diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-07-15 16:58:08 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-07-15 16:58:08 +0200 |
commit | 1eb538361b7dacd6bfb54d58fe1bee46f40a9479 (patch) | |
tree | a7d07d333f3f22dac3879b9da929689a96437da8 /lib | |
parent | 5ff367e3adebb498f83a7ed1d2d73e78b6305e09 (diff) | |
download | perl-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.pm | 2 |
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; |