wafsamba: introduce SAMBA[3]_PLUGIN()
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Aug 2021 21:05:57 +0000 (23:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Nov 2021 15:53:34 +0000 (15:53 +0000)
commit38d37d4a53285f08ce805f28b0659456c197f023
tree17088626f53c43d93268f2e6596e9979d2490fe6
parent70da83a8ca7fdb2d1bcd8601a1a0111d39469000
wafsamba: introduce SAMBA[3]_PLUGIN()

This will be used to define plugins we provide to be used
via dbopen/dlsym to external consumers.

SAMBA_PLUGIN() is used instead of SAMBA_LIBRARY() in order
to make it more strict that these plugins can't be used as
normal depedency by other subsystems and libraries.

With require_builtin_deps=True we make sure that only
symbols explicitly marked with _PUBLIC_ are exported
and we only link to system libraries and include all
internal depedencies as builtin subsystems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/samba3.py
buildtools/wafsamba/samba_deps.py
buildtools/wafsamba/samba_utils.py
buildtools/wafsamba/stale_files.py
buildtools/wafsamba/symbols.py
buildtools/wafsamba/wafsamba.py