Skip to content

FindPython: enhance SOABI computation

Rework how SOABI is computed : now, sysconfig variable EXT_SUFFIX is used as main source for computing this value and SOABI and SO variables are used as fallback.

This approach solves the current problems (pypy3 interpreter) and enhances robustness because EXT_SUFFIX should be always defined with the abi information.

Fixes: #24121 (closed), #23651 (closed)

Merge request reports