Skip to content

Commit eaf795b

Browse files
committed
python: sync PEP 739 format
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 4cf19fb commit eaf795b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mesonbuild/dependencies/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __init__(self, python_holder: 'BasicPythonExternalProgram', embed: bool):
169169
self.version = self.build_config['language']['version']
170170
self.platform = self.build_config['platform']
171171
self.is_freethreaded = 't' in self.build_config['abi']['flags']
172-
self.link_libpython = self.build_config['libpython']['link_to_libpython']
172+
self.link_libpython = self.build_config['libpython']['link_extensions']
173173
else:
174174
self.version = python_holder.info['version']
175175
self.platform = python_holder.info['platform']

mesonbuild/modules/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, python: 'PythonExternalProgram', interpreter: 'Interpreter'):
121121
self.platform = python.build_config['platform']
122122
self.suffix = python.build_config['abi']['extension_suffix']
123123
self.limited_api_suffix = python.build_config['abi']['stable_abi_suffix']
124-
self.link_libpython = python.build_config['libpython']['link_to_libpython']
124+
self.link_libpython = python.build_config['libpython']['link_extensions']
125125
self.is_pypy = python.build_config['implementation']['name'] == 'pypy'
126126
else:
127127
self.version = info['version']

0 commit comments

Comments
 (0)