Skip to content

Commit

Permalink
python: remove redundant build_config libpython check
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]>
  • Loading branch information
FFY00 committed Jan 20, 2025
1 parent 3fb6847 commit 697e20c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mesonbuild/dependencies/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 697e20c

Please sign in to comment.