From: Joe Orton Date: Mon, 19 Jan 2004 22:58:41 +0000 (+0000) Subject: Correct use of libtool: libtool convenience libraries which are to be X-Git-Tag: pre_ajp_proxy~782 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=722d590399e74970370397d69de149921faf4e9b;p=apache Correct use of libtool: libtool convenience libraries which are to be linked directly into a program must be linked using -static and not -module. Fixes build issues with libtool HEAD. * acinclude.m4 (APACHE_MODPATH_ADD): For a static module, use a filename with a lib prefix. * build/rules.mk.in (MOD_LINK): Use -static not -module. * build/special.mk (install-modules): Adjust special-case for installation of shared modules to look for libso.la not mod_so.la. * build/library.mk: Link libraries using -static. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102381 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 3c02af532c..8c620e8309 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -170,7 +170,8 @@ AC_DEFUN(APACHE_MODPATH_ADD,[ if test -z "$module_standalone"; then if test -z "$2"; then - libname="mod_$1.la" + # The filename of a convenience library must have a "lib" prefix: + libname="lib$1.la" BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname" modpath_static="$modpath_static $libname" cat >>$modpath_current/modules.mk<