[OM Cooker] Switch to pkgconf

Bernhard Rosenkraenzer bero at lindev.ch
Tue Aug 23 08:40:44 EDT 2016


On 2016-08-23 14:25, Tomasz Gajc wrote:

> Hi,
> 
> looks like it is a good time to switch to pkgconf and replace ancient 
> pkg-config, right ?


Right, now would be the perfect time... We should definitely do it.

> What are the benefits ? Barely none for luser :) In theory it should 
> have a positive impact on building packages, by building better 
> optimized chain of dependecies when linking i.e.
> 
> pkg-conf: $ldflags -lbar -lfoo pkgconf: $ldlags -lfoo
> 
> why only -lfoo, because pkgconf is smart enough and knows that -lfoo is 
> linked with -lbar already.

Also:
* more actively developed - it's been years since anything changed in 
pkg-config
* exports its functionality as a library - easier to embed in something 
else (cmake?)
* no dependency on yucky glib

ttyl
bero



More information about the OM-Cooker mailing list