]> granicus.if.org Git - apache/commitdiff
* acinclude.m4: When enabling a static library, ensure that the module's
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 18 Mar 2006 02:26:19 +0000 (02:26 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 18 Mar 2006 02:26:19 +0000 (02:26 +0000)
  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

acinclude.m4

index f4a165a298e4b629b3b265715a8acf62e0e0d41b..41ca9aad40b982a0164008b292ded66cdb36cf88 100644 (file)
@@ -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"