Author Rouslan Korneychuk
Recipients Alex.Willmer, Rouslan Korneychuk
Date 2016-09-24.21:57:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474754266.33.0.418200551185.issue28266@psf.upfronthosting.co.za>
In-reply-to
Content
When building Python, the setup.py script will use values from sysconfig, even when cross compiling. When cross compiling, the interpreter that runs setup.py is configured for the build system, not the host system, so the wrong values are used. This patch should fix that.

It should be noted that the updated script assumes it is run from the build directory (like the Makefile) and that the script is at the top-level source directory. Also it uses a private method from sysconfig. This is unavoidable without modifying the sysconfig interface (or duplicating code).
History
Date User Action Args
2016-09-24 21:57:48Rouslan Korneychuksetrecipients: + Rouslan Korneychuk, Alex.Willmer
2016-09-24 21:57:46Rouslan Korneychuksetmessageid: <1474754266.33.0.418200551185.issue28266@psf.upfronthosting.co.za>
2016-09-24 21:57:46Rouslan Korneychuklinkissue28266 messages
2016-09-24 21:57:46Rouslan Korneychukcreate