Brad Jorsch <[email protected]> wrote: > On Mon, Sep 27, 2010 at 01:24:52AM +0400, Alexey I. Froloff wrote: >> On Sun, Sep 26, 2010 at 04:54:40PM -0400, Brad Jorsch wrote: >> > But if libexample links against libfoobar, is there necessarily a need >> > to have libfoobar-dev installed in order to build and link against >> > libexample? >> You'll need libfoobar-dev if libexample uses something defined in >> libfoobar's headers (and therefore example.h includes foobar.h), >> like structures or enums OR you are linking statically with >> libexample. You don't need libfoobar-dev if your program doesn't >> use libfoobar directly and libexample is linked against >> libfoobar.
> Quite so. And the choice before us is whether we want to force the > former when libbsd is used for strlcpy/strlcat, or provide pass-through > functions to do the latter. Now I get it, this is about "#define wstrlcat strlcat" versus a wrapper function. The former would require header inclusion and recursive linking. I would prefer to avoid header inclusion. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- To unsubscribe, send mail to [email protected].
