- Documentation for the pkgconfig.relocatable module option in Builtin-options. Gives an explanation on what it does, usefulness and what error that can occur when using it. - Add pkgconfig.relocatable release snippet. Similar to the documentation in Builtin-options. Just a bit more brief. - Add Pkgconfig to DataTests.test_builtin_options_documented in the docs unit tests.pull/10290/head
parent
ef0c38f90a
commit
442fd7dc73
3 changed files with 40 additions and 1 deletions
@ -0,0 +1,18 @@ |
||||
## Installed pkgconfig files can now be relocatable |
||||
|
||||
The pkgconfig module now has a module option `pkgconfig.relocatable`. |
||||
When set to `true`, the pkgconfig files generated will have their |
||||
`prefix` variable set to be relative to their `install_dir`. |
||||
|
||||
For example to enable it from the command line run: |
||||
|
||||
```sh |
||||
meson setup builddir -Dpkgconfig.relocatable=true … |
||||
``` |
||||
|
||||
It will only work if the `install_dir` for the generated pkgconfig |
||||
files are located inside the install prefix of the package. Not doing |
||||
so will cause an error. |
||||
|
||||
This should be useful on Windows or any other platform where |
||||
relocatable packages are desired. |
Loading…
Reference in new issue