From: Joe Orton Date: Tue, 28 Sep 2004 14:30:10 +0000 (+0000) Subject: * support/apxs.in: Ensure that only a .la target filename is passed on X-Git-Tag: 2.1.1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc2d677ed2e0a4922b0b48d28b711d9722da5ab6;p=thirdparty%2Fapache%2Fhttpd.git * support/apxs.in: Ensure that only a .la target filename is passed on 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 --- diff --git a/support/apxs.in b/support/apxs.in index ec880543d60..d82b9a03334 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -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