aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2018-07-25 19:27:00 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2018-08-24 03:16:00 +0530
commit50bcf24cf771101579a7d93fe6f3c32a20b522c1 (patch)
treef34a8d3c70a86029a632335bc468aa44f507cddc /mesonbuild
parent32112a417d95ee095b000985dc7772b3ae60cbb4 (diff)
downloadmeson-50bcf24cf771101579a7d93fe6f3c32a20b522c1.zip
meson-50bcf24cf771101579a7d93fe6f3c32a20b522c1.tar.gz
meson-50bcf24cf771101579a7d93fe6f3c32a20b522c1.tar.bz2
Fix missing permitted kwarg
get_pkgconfig_variable() takes a 'default' keyword
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 29686f4..606a6bf 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -399,7 +399,7 @@ class DependencyHolder(InterpreterObject, ObjectHolder):
def version_method(self, args, kwargs):
return self.held_object.get_version()
- @permittedKwargs({'define_variable'})
+ @permittedKwargs({'define_variable', 'default'})
def pkgconfig_method(self, args, kwargs):
args = listify(args)
if len(args) != 1: