Christian Heimes <li...@cheimes.de> added the comment:
bpo-45886 addresses the cross build issue with freeze_module command. The wrong header files come from the fact that setup.py uses CC variable from sysconfig instead of environment. The sysconfig variable contains the C compiler of the build interpreter instead of the host interpreter. The correct value is in os.environ. ---------- dependencies: +Fix Program/_freeze_module for cross compiling Python _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com