aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2022-11-13 19:16:36 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-11-13 14:37:45 -0500
commit3646697892605ee2c85f285db31fa6aa4ddde0f3 (patch)
treec72239d40d0eaf59e1c5f496463fade97622dcc5
parente4538a0362b8a68922c7808dfa1a235dd71037bf (diff)
downloadmeson-3646697892605ee2c85f285db31fa6aa4ddde0f3.zip
meson-3646697892605ee2c85f285db31fa6aa4ddde0f3.tar.gz
meson-3646697892605ee2c85f285db31fa6aa4ddde0f3.tar.bz2
Add a note on relocatable pkg-config files to reference manual.
-rw-r--r--docs/markdown/Pkgconfig-module.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md
index c34f61f..80882cb 100644
--- a/docs/markdown/Pkgconfig-module.md
+++ b/docs/markdown/Pkgconfig-module.md
@@ -125,3 +125,9 @@ different behaviour.
- Once a pkg-config file is generated for a library using `pkg.generate(mylib)`,
any subsequent call to `pkg.generate()` where mylib appears, will generate a
`Requires:` or `Requires.private` instead of a `Libs:` or `Libs.private:`.
+
+### Relocatable pkg-config files
+
+By default, the files generated by `pkg.generate` contain a hardcoded prefix path.
+In order to make them relocatable, a `pkgconfig.relocatable` builtin option is provided.
+See [Pkgconfig module options](Builtin-options.md#pkgconfig-module).