summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2015-05-23 13:04:43 +0100
committerSimo Sorce <simo@redhat.com>2015-05-24 23:49:23 +0200
commitfa877975a0b03cef97fdf4350472df77fdb354f6 (patch)
tree6a33d3e9c54530f6989f7febf9289c9a376b56b3 /src
parent0fb1b69e4a03b282b9df2255c153e5d3860e24c0 (diff)
downloadmod_auth_gssapi-fa877975a0b03cef97fdf4350472df77fdb354f6.tar.gz
mod_auth_gssapi-fa877975a0b03cef97fdf4350472df77fdb354f6.tar.xz
mod_auth_gssapi-fa877975a0b03cef97fdf4350472df77fdb354f6.zip
Export only the symbol named auth_gssapi_module
The only entry point into the module DSO is the module structure itself; use libtool's export-symbols linker trick to hide all the other global symbols, which otherwise are potentially visible outside the module itself (SEAL_* etc). Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 01a1220..e2b0148 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,8 @@ mod_auth_gssapi_la_CFLAGS = \
mod_auth_gssapi_la_LDFLAGS = \
$(MAG_LIBS) \
-avoid-version \
- -module
+ -module \
+ -export-symbols-regex auth_gssapi_module
install-exec-local:
if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi