Re: DPADD does not do anything

看板DFBSD_submit作者時間21年前 (2004/11/24 19:30), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
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
文章代碼(AID): #11f73l00 (DFBSD_submit)
文章代碼(AID): #11f73l00 (DFBSD_submit)