Enable GCC to find free-threaded python DLL library

pull/13835/head
Edgar Andrés Margffoy Tuay 3 weeks ago committed by Eli Schwartz
parent d7e1d19285
commit 4ac3e7d356
  1. 3
      mesonbuild/dependencies/python.py

@ -228,6 +228,9 @@ class _PythonDependencyBase(_Base):
libpath = Path('libpypy3-c.dll')
elif imp_lower == 'pypy':
libpath = Path(f'libpypy{verdot}-c.dll')
else:
if self.is_freethreaded:
libpath = Path(f'python{vernum}t.dll')
else:
libpath = Path(f'python{vernum}.dll')
else:

Loading…
Cancel
Save