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

Re: conditional dependency?



On Mon, Feb 25, 2008, Steve Langasek wrote:
> Conventionally, library -dev packages do depend on other -dev packages that
> they require for static linking; and certainly, tools like pkg-config and
> libtool (and other home-grown foo-config scripts) tend to encourage this
> behavior.  Nowadays, with a proper .pc file I would argue that this could be
> reduced to a Recommends.

 Cannot be reduced: pkg-config needs to be able to go down
 Requires.private modules to compute Cflags and hence you have to Depend
 on Requires.private modules (as if they are missing, pkg-config calls
 simply fail).

-- 
Loïc Minier


Reply to: