Fix DynaLoader::dl_findfile() to locate .so files again
authorJan Dubois <jand@activestate.com>
Thu, 31 May 2007 13:17:22 +0000 (06:17 -0700)
committerSteve Hay <SteveHay@planit.com>
Fri, 1 Jun 2007 07:32:52 +0000 (07:32 +0000)
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <00a501c7a3c0$b2d880d0$18898270$@com>

p4raw-id: //depot/perl@31324

ext/DynaLoader/DynaLoader_pm.PL

index 72450e5..5d4d15e 100644 (file)
@@ -492,7 +492,7 @@ sub dl_findfile {
         my(@names, $name);    # what filenames to look for
         if (m:-l: ) {          # convert -lname to appropriate library name
             s/-l//;
-            push(@names,"lib$_.<<=to_string($Config::Config{'so'})>>");
+            push(@names,"lib$_.<<=$dl_so>>");
             push(@names,"lib$_.a");
         } else {                # Umm, a bare name. Try various alternatives:
             # these should be ordered with the most likely first