]> granicus.if.org Git - apache/commitdiff
Link the modules that use it against the XML library so the server will start.
authorSander Temme <sctemme@apache.org>
Mon, 7 Nov 2011 23:55:27 +0000 (23:55 +0000)
committerSander Temme <sctemme@apache.org>
Mon, 7 Nov 2011 23:55:27 +0000 (23:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199019 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/config.m4

index 68c73eddd2c953540f6503807d5a0bf440545035..0a1e62a9131a87ce5339683fc2bfbc11a9253142 100644 (file)
@@ -117,6 +117,7 @@ APACHE_MODULE(xml2enc, i18n support for markup filters, , , , [
   FIND_LIBXML2
   if test "$ac_cv_libxml2" = "yes" ; then
     APR_ADDTO(CFLAGS, [-I${XML2_INCLUDES}])
+    APR_ADDTO(MOD_XML2ENC_LDADD, [-lxml2])
   else
     enable_xml2enc=no
   fi
@@ -125,6 +126,7 @@ APACHE_MODULE(proxy_html, Fix HTML Links in a Reverse Proxy, , , , [
   FIND_LIBXML2
   if test "$ac_cv_libxml2" = "yes" ; then
     APR_ADDTO(CFLAGS, [-I${XML2_INCLUDES}])
+    APR_ADDTO(MOD_PROXY_HTML_LDADD, [-lxml2])
   else
     enable_proxy_html=no
   fi