summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Salzenberg <chip@atlantic.net>1997-03-09 11:57:19 +1200
committerChip Salzenberg <chip@atlantic.net>1997-03-09 11:57:19 +1200
commit2d5bef1dcb55d801c074eeb82c2274f05431368d (patch)
tree69c8bf1e8fed05a06aebebd3d5a3385ad9d5b198
parent0c395bd7f1dd17c87bc78fb4f230c4c88e22eb4f (diff)
downloadperl-2d5bef1dcb55d801c074eeb82c2274f05431368d.tar.gz
Fix typo in -l*perl* pattern
(this is the same change as commit ddab96b77391e288333a995edd0cbe8bc02d2481, but as applied)
-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 39d797e430..b6097f40ff 100644
--- a/lib/ExtUtils/Embed.pm
+++ b/lib/ExtUtils/Embed.pm
@@ -199,7 +199,7 @@ sub ldopts {
}
#print STDERR "\@potential_libs = @potential_libs\n";
- my $libperl = (grep(/^(-l\w+perl)$/, @link_args))[0] || "-lperl";
+ my $libperl = (grep(/^-l\w*perl\w*$/, @link_args))[0] || "-lperl";
my($extralibs, $bsloadlibs, $ldloadlibs, $ld_run_path) =
$MM->ext(join ' ',