]> granicus.if.org Git - apache/commitdiff
* support/apxs.in: Ensure that only a .la target filename is passed on
authorJoe Orton <jorton@apache.org>
Tue, 28 Sep 2004 14:30:10 +0000 (14:30 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 28 Sep 2004 14:30:10 +0000 (14:30 +0000)
the libtool link line otherwise libtool tries to link statically.

PR: 31448 (more)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105310 13f79535-47bb-0310-9956-ffa450edef68

support/apxs.in

index ec880543d606592dd58b16f2689738d5bd32f9ab..d82b9a03334a29dea8882d53bc2527ee69210cb8 100644 (file)
@@ -375,11 +375,12 @@ if ($opt_c) {
             $dso_file =~ s|\.[^.]+$|.la|;
         }
         else {
-            $dso_file = "mod_unknown.so";
+            $dso_file = "mod_unknown.la";
         }
     }
     else {
         $dso_file = $opt_o;
+        $dso_file =~ s|\.[^.]+$|.la|;
     }
 
     #   create compilation commands