[PATCH] Use unresolved symbols for parent library in modules
Jelmer Vernooij
jelmer at samba.org
Tue Jun 17 00:04:06 GMT 2008
Hi Simo,
The attached patch makes sure a modules' subsystem (and its
dependencies) doesn't get linked into it, but instead assumes that the
symbols get resolved at run time.
At the moment, this patch doesn't work yet for ldb because some modules use
symbols that don't end up in the binary (or python ldb module) because
they're not required anywhere else.
We're also not specifying -Wl,-export-dynamic when linking yet so those symbols
may not be used to resolve the modules' symbols even when they are
available.
I don't intend to do more work on this direction atm, but this patch
would be a good start if anybody intends to pick it up.
Cheers,
Jelmer
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unresolved-symbols-ldb.diff
Type: text/x-diff
Size: 781 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080617/22c2b7fa/unresolved-symbols-ldb.bin
More information about the samba-technical
mailing list