diff options
Diffstat (limited to 'make/configure.pm')
-rw-r--r-- | make/configure.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm index 223f4e58a..656c98097 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -237,7 +237,8 @@ sub module_expand($) { sub module_shrink($) { my $module = basename shift; - return $module =~ s/(?:^m_|\.cpp$)//gr; + $module =~ s/(?:^m_|\.cpp$)//g; + return $module; } sub write_configure_cache(%) { |