]> code.ossystems Code Review - openembedded-core.git/commit
python: Fix various contamination issues leading to broken/missing c modules
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Apr 2012 21:46:42 +0000 (22:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Apr 2012 22:06:07 +0000 (23:06 +0100)
commit8808743d50d8adb9cb1815e655f6e25b656eca4d
treeb992866b21af00dd189d7092a2d3797b9c7d7aa5
parentcaa8862cad19563088943ef471704db8e8ca73f0
python: Fix various contamination issues leading to broken/missing c modules

The move of libcrypto to /lib instead of /usr/lib has broken the _hashlib module
compilation. There were also a number of other failing modules which should
have been building correctly. This turned out partly to be the /lib issue
but also due to a number of native paths creeping into compiler commandlines.

These changes add in /lib as part of the searh directory and remove
a number of host contamination issues within setup.py. Post release we
should really further go through this file and just delete large sections
of it as its hard to be sure what strange paths python is injecting as
search paths.

This patch also fixes issues where re-execution of the compile task
would corrupt the Makefile in various ways, again leading to puzzling
paths within the configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
meta/recipes-devtools/python/python/setuptweaks.patch [new file with mode: 0644]
meta/recipes-devtools/python/python_2.7.2.bb