From: Justin Erenkrantz Date: Sat, 18 Mar 2006 02:26:19 +0000 (+0000) Subject: * acinclude.m4: When enabling a static library, ensure that the module's X-Git-Tag: 2.3.0~2496 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1514ad3586282e9a8c8702e6b9f5c49f173bc79a;p=thirdparty%2Fapache%2Fhttpd.git * acinclude.m4: When enabling a static library, ensure that the module's dependent libraries are passed to the httpd link line. Some supported versions of GNU libtool as well as APR's jlibtool do not bubble-up static library dependencies. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@386792 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index f4a165a298e..41ca9aad40b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -183,6 +183,9 @@ AC_DEFUN(APACHE_MODPATH_ADD,[ $libname: $objects \$(MOD_LINK) $objects $5 EOF + if test ! -z "$5"; then + APR_ADDTO(AP_LIBS, [$5]) + fi else apache_need_shared=yes libname="mod_$1.la"