summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2006-03-18 03:26:19 +0100
committerJustin Erenkrantz <jerenkrantz@apache.org>2006-03-18 03:26:19 +0100
commit1514ad3586282e9a8c8702e6b9f5c49f173bc79a (patch)
tree4f836e623c6c6b1bbdc6603159c79b61a08af707 /acinclude.m4
parent Escape from casting purgatory, which the Solaris cc compiler (diff)
downloadapache2-1514ad3586282e9a8c8702e6b9f5c49f173bc79a.tar.xz
apache2-1514ad3586282e9a8c8702e6b9f5c49f173bc79a.zip
* 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
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f4a165a298..41ca9aad40 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"