Skip to content

Commit

Permalink
[doc] document vcpkg_fixup_pkgconfig merging behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed May 24, 2021
1 parent a3db16a commit fdf8d17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/maintainers/vcpkg_fixup_pkgconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdf8d17

Please sign in to comment.