diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py index 8209adf4e4ff..75b7b98dedbd 100644 --- a/mesonbuild/dependencies/python.py +++ b/mesonbuild/dependencies/python.py @@ -258,11 +258,6 @@ def get_windows_link_args(self, limited_api: bool) -> T.Optional[T.List[str]]: key = 'dynamic-stableabi' else: key = 'dynamic' - - if key not in self.build_config['libpython']: - mlog.log(f'Python does not provide a {key} libpython') - return None - return [self.build_config['libpython'][key]] if self.platform.startswith('win'):