From: Joe Orton Date: Wed, 10 Nov 2004 15:11:23 +0000 (+0000) Subject: * modules/ssl/config.m4: Use libtool's -export-symbols-regex flag to X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718d01b274cb5773c11ec3f554884896a49ffc4d;p=thirdparty%2Fapache%2Fhttpd.git * modules/ssl/config.m4: Use libtool's -export-symbols-regex flag to 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/modules/ssl@105740 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/config.m4 b/config.m4 index 4c115761cb1..7242f76ed95 100644 --- a/config.m4 +++ b/config.m4 @@ -116,6 +116,11 @@ APACHE_MODULE(ssl, [SSL/TLS support (mod_ssl)], $ssl_objs, , no, [ 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