ipa-kdb: add exports file

limit exported symbols only to the ones actually needed by krb5kdc
This commit is contained in:
Simo Sorce 2011-07-05 22:39:23 -04:00
parent bac6f2dd13
commit 579a159915
2 changed files with 14 additions and 1 deletions

View File

@ -26,7 +26,8 @@ ipadb_la_SOURCES = \
ipadb_la_LDFLAGS = \
-avoid-version \
-module
-module \
-Wl,--version-script,$(srcdir)/ipa_kdb.exports
ipadb_la_LIBADD = \
$(KRB5_LIBS) \
@ -34,6 +35,8 @@ ipadb_la_LIBADD = \
$(LDAP_LIBS) \
$(NULL)
dist_noinst_DATA = ipa_kdb.exports
EXTRA_DIST = \
README \
$(NULL)

View File

@ -0,0 +1,10 @@
EXPORTED {
# public symbols
global:
kdb_function_table;
# everything else is local
local:
*;
};