summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 97bc08d2eb..c5a91599cd 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -79,7 +79,7 @@ foreach (@extspec) {
if (/^lib/) {
# Remove lib/auto prefix and /*.* suffix
s{^lib/auto/}{};
- s{[^/]*\.[^/]*$}{};
+ s{/[^/]+\.[^/]+$}{};
} elsif (/^ext/) {
# Remove ext/ prefix and /pm_to_blib suffix
s{^ext/}{};