From bc2d677ed2e0a4922b0b48d28b711d9722da5ab6 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 28 Sep 2004 14:30:10 +0000 Subject: [PATCH] * 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 --- support/apxs.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/apxs.in b/support/apxs.in index ec880543d6..d82b9a0333 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 -- 2.50.1