pkgconfig: Document url keyword

Closes #2272
pull/2279/head
Patrick Griffis 7 years ago committed by Jussi Pakkanen
parent 437fc04da1
commit 2acf737b4b
  1. 1
      docs/markdown/Pkgconfig-module.md
  2. 2
      mesonbuild/modules/pkgconfig.py

@ -34,6 +34,7 @@ keyword arguments.
- `requires` list of strings to put in the `Requires` field
- `requires_private` list of strings to put in the `Requires.private`
field
- `url` a string with a url for the library
- `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,

@ -121,7 +121,7 @@ class PkgConfigModule(ExtensionModule):
@permittedKwargs({'libraries', 'version', 'name', 'description', 'filebase',
'subdirs', 'requires', 'requires_private', 'libraries_private',
'install_dir', 'extra_cflags', 'variables'})
'install_dir', 'extra_cflags', 'variables', 'url'})
def generate(self, state, args, kwargs):
if len(args) > 0:
raise mesonlib.MesonException('Pkgconfig_gen takes no positional arguments.')

Loading…
Cancel
Save