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

Re: Should -dev packages providing .pc files depend on pkg-config?



Hi,

> Consider there's a package foo which is built against libbar-dev and
> uses pkg-config to obtain the necessary CFLAGS and LIBS for libbar.

> Now is it the foo package's or the libbar-dev package's duty to provide
> the dependency on pkg-config?

Disagreeing with the others: It is the -dev package's responsibility.

The foo package's build dependencies are only relevant when building the
foo package. For someone who develops software based on libbar, it is
not obvious that foo's build dependencies are required.

   Simon


Reply to: