[build2] pkgconfig files, header-only libraries, and cppget's boost packages

Michael Martín Moro sexymimi64 at gmail.com
Fri Sep 23 18:14:50 UTC 2022

Hi !

I've seen something that puzzled me while trying to import libboost

They use `import intf_libs` or `import impl_libs` for importing all boost
dependencies... including header only ones.

Seems to me like it resuls in pkgconfig files including a lot of extra
library to link that do not exist. You can check it out with
libboost-program-options or libboost-random: there are some -lboost_any
here and -lboost_config there that shouldn't be there.

It is my understanding that those header-only libraries should be imported
using `import libs` instead. At least that's what has worked with me so far.

I'm left wondering if there's something I'm doing wrong, or if there's a
problem with those boost buildfiles ?

*Michaël Martín Moro*
{ Epitech. Tek4 }
{ UCA Cadíz - Computer Engineering }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20220923/54175c71/attachment.html>

More information about the users mailing list