diff options
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 1 | ||||
-rw-r--r-- | mesonbuild/modules/python.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 270e891..eadb6b4 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -176,7 +176,6 @@ permitted_dependency_kwargs = { 'cmake_package_version', 'components', 'default_options', - 'embed', 'fallback', 'include_type', 'language', diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index 422155b..2bd354f 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -347,7 +347,7 @@ class PythonInstallation(ExternalProgramHolder): return self.interpreter.func_shared_module(None, args, kwargs) - @permittedKwargs(permitted_dependency_kwargs) + @permittedKwargs(permitted_dependency_kwargs | {'embed'}) @FeatureNewKwargs('python_installation.dependency', '0.53.0', ['embed']) def dependency_method(self, args, kwargs): if args: |