This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benwolsieffer
Recipients Alex.Willmer, benwolsieffer, dstufft, eric.araujo
Date 2020-09-28.20:15:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601324156.19.0.410608433996.issue41880@roundup.psfhosted.org>
In-reply-to
Content
The distutils.sysconfig.get_python_inc() function finds headers relative to sys.base_prefix or sys.base_exec_prefix. This causes problems when cross-compiling extension modules because Python's headers are not platform independent.

Instead, get_python_inc() should use the INCLUDEPY and CONFINCLUDEPY variables from sysconfigdata to find headers. The _PYTHON_SYSCONFIGDATA_NAME environment variable can then be used to make build arch Python load sysconfigdata from host arch Python.
History
Date User Action Args
2020-09-28 20:15:56benwolsieffersetrecipients: + benwolsieffer, eric.araujo, dstufft, Alex.Willmer
2020-09-28 20:15:56benwolsieffersetmessageid: <1601324156.19.0.410608433996.issue41880@roundup.psfhosted.org>
2020-09-28 20:15:56benwolsiefferlinkissue41880 messages
2020-09-28 20:15:56benwolsieffercreate