[issue22699] Module source files not found when cross-compiling

Xavier de Gaye report at bugs.python.org
Fri Mar 20 12:55:24 EDT 2020


Xavier de Gaye <xdegaye at gmail.com> added the comment:

> Is that epic line automatically generated?

When cross compiling it is generated by the configure script and configure replaces the right hand side of "PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@" of Makefile.pre.in with the generated value into Makefile.pre.

I think you may be missing the point that when this 'epic line' is being used then PYTHONPATH points to the location of the sysconfig module that has been newly built for the target platform, and so the values should be correct.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22699>
_______________________________________


More information about the Python-bugs-list mailing list