From: Dennis Marsa Date: Fri, 17 Jan 1997 20:27:32 +0000 (-0600) Subject: Allow MakeMaker 5.34 to use libraries containing '+' in name X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e1fac241ec3b22746165d8487352faf4fff0db3;p=p5sagit%2Fp5-mst-13.2.git Allow MakeMaker 5.34 to use libraries containing '+' in name Subject: MakeMaker 5.34 and libraries containing '+' characters... p5p-msgid: <9701172027.AA27861@orion.cyrix.com> --- diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index 9664e54..59b2efa 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -77,7 +77,8 @@ sub _unix_os2_ext { # For gcc-2.6.2 on linux (March 1995), DLD can not load # .sa libraries, with the exception of libm.sa, so we # deliberately skip them. - if (@fullname = $self->lsdir($thispth,"^lib$thislib\.$so\.[0-9]+")){ + if (@fullname = + $self->lsdir($thispth,"^\Qlib$thislib.$so.\E[0-9]+")){ # Take care that libfoo.so.10 wins against libfoo.so.9. # Compare two libraries to find the most recent version # number. E.g. if you have libfoo.so.9.0.7 and