s3-rpc_server: Only support static build.
Andrew Bartlett
abartlet at samba.org
Tue Dec 21 16:08:43 MST 2010
On Tue, 2010-12-21 at 14:14 +0100, Jelmer Vernooij wrote:
> On Tue, 2010-12-21 at 22:59 +1100, Andrew Bartlett wrote:
> > For example, Samba4 is built with -Wl,no-undefined (which is the default
> > on Gentoo), and does not export all symbols from the plugin loading
> > binary to plugins. Instead, plugins link against the library that they
> > are loaded into and any libraries on which they depend, ensuring that
> > they properly declare exactly what they depend on.
> Are you sure you mean -Wl,no-undefined? The issue we ran into was that
> -Wl,--as-needed was the default on Gentoo, which meant we missed some
> libraries.
Ahh, yes. Additionally, we also build with -Wl,no-undefined I think,
which means that the plugin must be linked against a library containing
all the 'host' symbols it requires.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Cisco Inc.
More information about the samba-technical
mailing list