tech-pkg archive

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

Re: Writing buildlink files: references to ../mk/

Edgar Fuß <> writes:

>> You only need it if the dep is required at client build time; e.g. if
>> libbar uses libfoo, so libfoo's bl3 is in libbar's Makefile, it only
>> needs to put libfoo's bl3 in its own bl3 if its installed includes
>> depend on libfoo's.
> Hm. The Guide says:
>> Run ldd on all installed libraries and look against what other libraries 
>> they link.
> That's what I did.
>> Some of the packages providing these probably need to be buildlinked;
> This is -- erm -- not very specific.
> If app depends on libbar and libbar depends on libfoo, then app/Makefile 
> includes bar/ Now, if bar/ would not include 
> foo/, then building app would not see libfoo. Wouldn't that 
> make linking app fail?

more or less:

If references, then libbar/ should
include libfoo/

But if app depends on bar, and doesn't try to 1) link with libfoo or 2)
use libfoo's symbols, then app should not include libbar/

This is hard to discuss in general.    If you think there is a specific
bug (which I am willing to believe!), please point it out.

Home | Main Index | Thread Index | Old Index