diff options
| author | Volker Weißmann <volker.weissmann@gmx.de> | 2025-03-24 19:20:03 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-05-29 09:20:27 -0700 |
| commit | f9241c438b947d9b0b30f08948d47e493d6b56d7 (patch) | |
| tree | ccc1fb199ef5bc72479efd7a0bcbe213b8b01ef9 | |
| parent | 6447eb00d87f439147249dd593635ae14e56d0dd (diff) | |
| download | meson-f9241c438b947d9b0b30f08948d47e493d6b56d7.tar.gz | |
rewriter: Don't ignore the `name_prefix` kwarg
| -rw-r--r-- | mesonbuild/ast/introspection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index 3f9c96472..f2a0c5ae0 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -284,7 +284,7 @@ class IntrospectionInterpreter(AstInterpreter): extraf_nodes = traverse_nodes(extra_queue) # Make sure nothing can crash when creating the build class - kwargs_reduced = {k: v for k, v in kwargs.items() if k in targetclass.known_kwargs and k in {'install', 'build_by_default', 'build_always'}} + kwargs_reduced = {k: v for k, v in kwargs.items() if k in targetclass.known_kwargs and k in {'install', 'build_by_default', 'build_always', 'name_prefix'}} kwargs_reduced = {k: v.value if isinstance(v, ElementaryNode) else v for k, v in kwargs_reduced.items()} kwargs_reduced = {k: v for k, v in kwargs_reduced.items() if not isinstance(v, BaseNode)} for_machine = MachineChoice.BUILD if kwargs.get('native', False) else MachineChoice.HOST |
