DPADD does not do anything
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Nov 23 09:48:06 PST 2004
On Tue, Nov 23, 2004 at 04:25:48PM +0100, Eirik Nygaard wrote:
> If noone have objections on the patch I will commit it in a day or two, and it
> will be followed by the kerberos update.
>
> http://leaf.dragonflybsd.org/~eirikn/DPADD.patch
This patch doesn't do the right think. DPADD is used to get dependencies
for programs on the libraries. It does kind of implicitly assume that you
(a) have static libraries and
(b) update the static libraries with the shared version.
You can't add them to the linker call, because you would end up always
using the static version and not link dynamically. Alternatively and that's
what happens with the patch, you add a lot of nonsense -L entries, because
DPADD has a list of absolute pathes to the static libraries, e.g.
/usr/lib/libc.a.
Joerg
More information about the Submit
mailing list