diff options
author | Joe Orton <jorton@redhat.com> | 2015-05-23 13:04:43 +0100 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-05-24 23:49:23 +0200 |
commit | fa877975a0b03cef97fdf4350472df77fdb354f6 (patch) | |
tree | 6a33d3e9c54530f6989f7febf9289c9a376b56b3 /src | |
parent | 0fb1b69e4a03b282b9df2255c153e5d3860e24c0 (diff) | |
download | mod_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.am | 3 |
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 |