Fix missing permitted kwarg

get_pkgconfig_variable() takes a 'default' keyword
pull/3220/merge
Patrick Griffis 6 years ago committed by Nirbheek Chauhan
parent 2e3e2abceb
commit e45ab8b24c
  1. 2
      mesonbuild/interpreter.py

@ -405,7 +405,7 @@ class DependencyHolder(InterpreterObject, ObjectHolder):
def name_method(self, args, kwargs):
return self.held_object.get_name()
@permittedKwargs({'define_variable'})
@permittedKwargs({'define_variable', 'default'})
def pkgconfig_method(self, args, kwargs):
args = listify(args)
if len(args) != 1:

Loading…
Cancel
Save