]> 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:02:21 +0000 (23:02 +0100)
commit20e2761e1da1cb5dcd267e161f2a6b6a429e9f39
treeb992866b21af00dd189d7092a2d3797b9c7d7aa5
parent4697911991caa2f2a21dd43f54e0c4404d722873
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