Allow MakeMaker 5.34 to use libraries containing '+' in name
Dennis Marsa [Fri, 17 Jan 1997 20:27:32 +0000 (14:27 -0600)]
Subject: MakeMaker 5.34 and libraries containing '+' characters...

p5p-msgid: <9701172027.AA27861@orion.cyrix.com>

lib/ExtUtils/Liblist.pm

index 9664e54..59b2efa 100644 (file)
@@ -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