From: Joe Orton Date: Wed, 2 May 2018 12:30:09 +0000 (+0000) Subject: * modules/md/config2.m4: Only export "md_module" symbol X-Git-Tag: 2.5.0-alpha2-ci-test-only~2641 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c094872144159cca213cd81a7dd19b94fc8a0d;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/md/config2.m4 b/modules/md/config2.m4 index ac0bb18b770..354885f02de 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