FindPython3: Add EXT_SUFFIX configuration information
In CPython we have,
>>> import sysconfig
>>> sysconfig.get_config_var("SOABI")
'cpython-310-x86_64-linux-gnu'
>>> sysconfig.get_config_var("EXT_SUFFIX")
'.cpython-310-x86_64-linux-gnu.so'
But on PyPy we have,
>>>> import sysconfig
>>>> sysconfig.get_config_var("SOABI")
'pypy39-pp73'
>>>> sysconfig.get_config_var("EXT_SUFFIX")
'.pypy39-pp73-x86_64-linux-gnu.so'
Note that SOABI in PyPy does not have -x86_64-linux-gnu
prefix mainly due to legacy reasons AFAIK.
Maybe @mattip from PyPy can explain the difference.
Fixed in !7395 (closed)
Edited by Isuru Fernando