]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
Fix the Python build when running Linux 3.*
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 12 Aug 2011 12:22:56 +0000 (14:22 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 14 Aug 2011 06:52:13 +0000 (08:52 +0200)
commitad891ac44aa826ebed7fa35be4912116255f5da6
tree97cc349d634ad3b5f1929e243b5c4eb8f7f43f5c
parente35921b3a0d148098f08d2f0533b238a65ff3e86
Fix the Python build when running Linux 3.*

When compiling Python on a host running Linux 3.0, the sys.platform
constant is set at "linux3". A lot of code (inside the interpreter
itself, its build system and third party apps and libraries) relies on
it to be linux2 on a Linux system.

This leads to the build of the target python package to break.

This behaviour has been reported on the Python bugtracker but is not
fixed yet.

http://bugs.python.org/issue12326

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/python/python-2.7-013-fix-linux-3-compilation.patch [new file with mode: 0644]