aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/uninstalled-pkgconfig.md
blob: 8e457ee1a99c7826a1127bf2995cf2f750ef2768 (plain)
1
2
3
4
5
6
7
8
9
10
11
## Uninstalled pkg-config files

**Note**: the functionality of this module is governed by [Meson's
  rules on mixing build systems](Mixing-build-systems.md).

The `pkgconfig` module now generates uninstalled pc files as well. For any generated
`foo.pc` file, an extra `foo-uninstalled.pc` file is placed into
`<builddir>/meson-uninstalled`. They can be used to build applications against
libraries built by meson without installing them, by pointing `PKG_CONFIG_PATH`
to that directory. This is an experimental feature provided on a best-effort
basis, it might not work in all use-cases.