[issue28066] [Patch] Fix the ability to cross compile Python when doing a rebuild of importlib.h

Martin Panter report at bugs.python.org
Sun Sep 11 05:20:46 EDT 2016


Martin Panter added the comment:

There are various tricky cases to be considered with the regenerated files like importlib.h. One of them is that you are supposed to be able to build Python from a read-only source tree. See Issue 15819. Writing files into $(srcdir) would break this.

Also, as I just wrote in that bug, the built Python/importlib.h is already supposed to be searchable. However the logic seems to be broken. Can you see if this patch helps?

----------
stage:  -> patch review
Added file: http://bugs.python.org/file44548/srcdir-check.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28066>
_______________________________________


More information about the Python-bugs-list mailing list