[build2] pkg-config file name

Boris Kolpackov boris at codesynthesis.com
Fri Mar 20 13:48:19 UTC 2020

Boris Kolpackov <boris at codesynthesis.com> writes:

> Ok, I've looked into it and I think we can do even better than the
> symlink: we can generate a common .pc file by ignoring any static/shared-
> specific poptions and splitting loptions/libs into Libs/Libs.private.
> It will be "best effort", in a sense that it's not guaranteed to be
> sufficient in all cases, but it will probably cover the majority of
> cases, even on Windows, thanks to auto-dllimport.

Ok, this is now implemented[1] and available in the staged toolchain[2].
Could you give it a try and let me know if things are working as
expected for your use-case?

[1] https://github.com/build2/build2/commit/a18661636cd169b0912cc58c623fdd69e3250229
[2] https://build2.org/community.xhtml#stage

More information about the users mailing list