DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DPADD does not do anything


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 23 Nov 2004 18:43:37 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]