You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2018/05/02 12:30:09 UTC

svn commit: r1830747 - /httpd/httpd/trunk/modules/md/config2.m4

Author: jorton
Date: Wed May  2 12:30:09 2018
New Revision: 1830747

URL: http://svn.apache.org/viewvc?rev=1830747&view=rev
Log:
* modules/md/config2.m4: Only export "md_module" symbol
  for a DSO build.

Modified:
    httpd/httpd/trunk/modules/md/config2.m4

Modified: httpd/httpd/trunk/modules/md/config2.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/config2.m4?rev=1830747&r1=1830746&r2=1830747&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/config2.m4 (original)
+++ httpd/httpd/trunk/modules/md/config2.m4 Wed May  2 12:30:09 2018
@@ -181,7 +181,10 @@ APACHE_MODULE(md, [Managed Domain handli
     
     AC_CHECK_FUNCS([arc4random_buf], 
         [APR_ADDTO(MOD_CPPFLAGS, ["-DMD_HAVE_ARC4RANDOM"])], [])
-    
+
+    if test "x$enable_md" = "xshared"; then
+       APR_ADDTO(MOD_MD_LDADD, [-export-symbols-regex md_module])
+    fi
 ])
 
 dnl #  end of module specific part