aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Pkgconfig-module.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Pkgconfig-module.md')
-rw-r--r--docs/markdown/Pkgconfig-module.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md
index 80882cb..7ddd310 100644
--- a/docs/markdown/Pkgconfig-module.md
+++ b/docs/markdown/Pkgconfig-module.md
@@ -47,6 +47,7 @@ keyword arguments.
`pkgconfig.generate()` was used on to put in the `Requires` field
- `requires_private` the same as `requires` but for the `Requires.private` field
- `url` a string with a url for the library
+- `license` (*Since 1.9.0*) a string with a SPDX license to add to the generated file.
- `variables` a list of strings with custom variables to add to the
generated file. The strings must be in the form `name=value` and may
reference other pkgconfig variables,
@@ -90,6 +91,9 @@ application. That will cause pkg-config to prefer those
builddir. This is an experimental feature provided on a best-effort
basis, it might not work in all use-cases.
+*Since 1.9.0* you can specify a license identifier. To use the current project
+licence, simply use `license: meson.project_license()` as argument to `generate()`.
+
### Implicit dependencies
The exact rules followed to find dependencies that are implicitly