From bf87e5a3429faaa3ecf1b8999aa8f7d72ee7bdb4 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 17 Jan 2019 10:27:32 +0000 Subject: [PATCH] Merge of r1830747 from trunk: mod_md: Don't export all symbols on Unix (reduces .so size by ~8%) [jorton] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1851511 13f79535-47bb-0310-9956-ffa450edef68 --- STATUS | 5 ----- modules/md/config2.m4 | 5 ++++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/STATUS b/STATUS index 07986779b12..a680af2b69f 100644 --- a/STATUS +++ b/STATUS @@ -125,11 +125,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - *) mod_md: Don't export all symbols on Unix (reduces .so size by ~8%) - trunk patch: https://svn.apache.org/r1830747 - 2.4.x patch: svn merge -c 1830747 ^/httpd/httpd/trunk . - +1: jorton, jim, icing - PATCHES PROPOSED TO BACKPORT FROM TRUNK: [ New proposals should be added at the end of the list ] diff --git a/modules/md/config2.m4 b/modules/md/config2.m4 index f1541073279..a2c83030a0e 100644 --- a/modules/md/config2.m4 +++ b/modules/md/config2.m4 @@ -289,7 +289,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 -- 2.47.3