diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2023-09-29 13:13:09 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2023-10-17 08:09:06 -0700 |
| commit | 357abf51c5a07efd1dabe916aa80790618dd5403 (patch) | |
| tree | 552b53e2f6517efa4b7d0922e6449d8ac2c11ad7 /mesonbuild/modules/python.py | |
| parent | 2fc872907813fa58a13f029bcf2a85924decf067 (diff) | |
| download | meson-357abf51c5a07efd1dabe916aa80790618dd5403.tar.gz | |
interpreter: use typed_kwargs for build_target.native
Diffstat (limited to 'mesonbuild/modules/python.py')
| -rw-r--r-- | mesonbuild/modules/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index c8af224f8..432962cee 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -197,7 +197,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']): # into the linker path when not running in debug mode via a series #pragma comment(lib, "") # directives. We manually override these here as this interferes with the intended # use of the 'limited_api' kwarg - for_machine = self.interpreter.machine_from_native_kwarg(kwargs) + for_machine = kwargs['native'] compilers = self.interpreter.environment.coredata.compilers[for_machine] if any(compiler.get_id() == 'msvc' for compiler in compilers.values()): pydep_copy = copy.copy(pydep) |
