diff options
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) |
