From 3646697892605ee2c85f285db31fa6aa4ddde0f3 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sun, 13 Nov 2022 19:16:36 +0100 Subject: [PATCH] Add a note on relocatable pkg-config files to reference manual. --- docs/markdown/Pkgconfig-module.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md index c34f61f32..80882cb7d 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).