I have cython 0.29.22,
and referring to pkg-config, on gentoo there are 2 files for python python3.8.pc and python3.8-embed.pc.
Only the latter returns -lpython3.8 (dunno why).
Anyway, I tried hacking a little but nothing changed, even with python3.9.
Obviously it is related with gentoo, there are patches to python etc.
If you know how I can debug...
I have cython 0.29.22,
and referring to pkg-config, on gentoo there are 2 files for python python3.8.pc and python3.8-embed.pc.
Only the latter returns -lpython3.8 (dunno why).
Anyway, I tried hacking a little but nothing changed, even with python3.9.
Obviously it is related with gentoo, there are patches to python etc.
If you know how I can debug...