omitting SONAMEs for plugins?

Stefan Metzmacher metze at samba.org
Wed Nov 2 15:37:16 UTC 2022


Am 31.10.22 um 10:22 schrieb Michael Tokarev via samba-technical:
> Hi!
> 
> What's different between a shared library and a plugin is that
> a plugin does not have a SONAME, while a library should have
> one.
> 
> When samba is built, SONAME is added to all shared objects, be
> it a library or a plugin.
> 
> I'm not familiar with waf (and with python) enough to understand
> how the final link command is constructed, the thing is quite
> a bit complicated there, with multiple layers and multiple
> operating systems and linkers support.
> 
> Is there a way to omit the SONAME field for plugins?

We have SAMBA_PLUGIN() instead of SAMBA_LIBRARY() and SAMBA_MODULE()

metze



More information about the samba-technical mailing list