diff options
author | Joe Orton <jorton@apache.org> | 2018-05-02 14:30:09 +0200 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2018-05-02 14:30:09 +0200 |
commit | 04c094872144159cca213cd81a7dd19b94fc8a0d (patch) | |
tree | 0cfe940dc28c6d1ab7749551f07e438ad6561ebf /modules/md/config2.m4 | |
parent | mod_proxy_html: Fix variable interpolation and memory allocation failure in P... (diff) | |
download | apache2-04c094872144159cca213cd81a7dd19b94fc8a0d.tar.xz apache2-04c094872144159cca213cd81a7dd19b94fc8a0d.zip |
* modules/md/config2.m4: Only export "md_module" symbol
for a DSO build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1830747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md/config2.m4')
-rw-r--r-- | modules/md/config2.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/md/config2.m4 b/modules/md/config2.m4 index ac0bb18b77..354885f02d 100644 --- a/modules/md/config2.m4 +++ b/modules/md/config2.m4 @@ -181,7 +181,10 @@ APACHE_MODULE(md, [Managed Domain handling], $md_objs, , most, [ 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 |