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
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 ]
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