]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge of r1830747 from trunk:
authorStefan Eissing <icing@apache.org>
Thu, 17 Jan 2019 10:27:32 +0000 (10:27 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 17 Jan 2019 10:27:32 +0000 (10:27 +0000)
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
modules/md/config2.m4

diff --git a/STATUS b/STATUS
index 07986779b12794f4eec42f8f04fb5d2ce373fc43..a680af2b69fc3f015f844746ad302845216c563a 100644 (file)
--- 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 ]
index f1541073279eb43e4b3e9ea4190f413e9ec02ad6..a2c83030a0e9772c416e055bbd0e4445920193de 100644 (file)
@@ -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