From bcf369ea3c6ac9d48759a9a11304a853dfdab5ff Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 15 Oct 2020 09:56:08 -0400 Subject: Fix consistency in variables kwarg Share common code to extract the `variables` kwarg in declare_dependency() and pkg.generate(). --- docs/markdown/Pkgconfig-module.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/markdown/Pkgconfig-module.md') diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md index 7b68e2408..e9aa4a226 100644 --- a/docs/markdown/Pkgconfig-module.md +++ b/docs/markdown/Pkgconfig-module.md @@ -49,7 +49,8 @@ keyword arguments. generated file. The strings must be in the form `name=value` and may reference other pkgconfig variables, e.g. `datadir=${prefix}/share`. The names `prefix`, `libdir` and - `includedir` are reserved and may not be used. + `includedir` are reserved and may not be used. *Since 0.56.0* it can also be a + dictionary. - `version` a string describing the version of this library, used to set the `Version:` field. (*since 0.46.0*) Defaults to the project version if unspecified. - `d_module_versions` a list of module version flags used when compiling -- cgit v1.2.3