From bec883fef498206f05b20bc0a4ba241637657dba Mon Sep 17 00:00:00 2001 From: "Matthias C. M. Troffaes" Date: Sat, 5 Jun 2021 00:49:02 +0100 Subject: [doc] document vcpkg_fixup_pkgconfig merging behaviour (#18091) * [doc] document vcpkg_fixup_pkgconfig merging behaviour * [doc] add source --- docs/maintainers/vcpkg_fixup_pkgconfig.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/maintainers/vcpkg_fixup_pkgconfig.md b/docs/maintainers/vcpkg_fixup_pkgconfig.md index dbfa2d423..e94453d72 100644 --- a/docs/maintainers/vcpkg_fixup_pkgconfig.md +++ b/docs/maintainers/vcpkg_fixup_pkgconfig.md @@ -2,7 +2,11 @@ The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_fixup_pkgconfig.md). -Fix common paths in *.pc files and make everything relative to $(prefix) +Fix common paths in *.pc files and make everything relative to $(prefix). +Additionally, on static triplets, private entries are merged with their non-private counterparts, +allowing pkg-config to be called without the ``--static`` flag. +Note that vcpkg is designed to never have to call pkg-config with the ``--static`` flag, +since a consumer cannot know if a dependent library has been built statically or not. ## Usage ```cmake -- cgit v1.2.3