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: Eirik Nygaard <eirikn@xxxxxxxxxxxx>
Date: Wed, 24 Nov 2004 12:28:31 +0100

On Tue, Nov 23, 2004 at 06:43:37PM +0100, Joerg Sonnenberger wrote:
> 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
> 

You are absolutely right, thanks for clarifying.
I was attacking the problem from the wrong end I think.

-- 
Eirik Nygaard



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