s3-waf: avoid exporting init symbols from statically linked modules
commita43774a2577cd852222f4df16eb5a95aa4f11f5e
authorAlexander Bokovoy <ab@samba.org>
Thu, 30 Aug 2012 16:09:14 +0000 (30 19:09 +0300)
committerAlexander Bokovoy <ab@samba.org>
Fri, 7 Sep 2012 10:31:42 +0000 (7 12:31 +0200)
tree74bcd51ad4187ad7e0f0903c1de7d85d90362d71
parentdd2ab2e6793891f5a879b8f15250eb43373f015b
s3-waf: avoid exporting init symbols from statically linked modules

WAF builds with and without AD DC affect list of statically linked
modules that are added into libpdb. This makes impossible to have
ABI for libpdb that does not depend on configured features.

By making init functions from statically linked modules to have local
scope in shared libraries, we avoid unwarranted ABI changes.

Additionally, pdb_samba_dsdb imports IDMAP subsystem of source4/ as
it is not a shared library. Making its symbols private as well.

Finally, in order to have the filtering of symbols work, libpdb
has to be public library.
source3/passdb/ABI/pdb-0.sigs [new file with mode: 0644]
source3/wscript_build