hide all global symbols defined by mod_ssl other than the module
structure (where possible).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105740
13f79535-47bb-0310-9956-
ffa450edef68
APACHE_CHECK_SSL_TOOLKIT
APR_SETVAR(MOD_SSL_LDADD, [\$(SSL_LIBS)])
CHECK_DISTCACHE
+ if test "x$enable_ssl" = "xshared"; then
+ # The only symbol which needs to be exported is the module
+ # structure, so ask libtool to hide everything else:
+ APR_ADDTO(MOD_SSL_LDADD, [-export-symbols-regex ssl_module])
+ fi
])
# Ensure that other modules can pick up mod_ssl.h