]> code.ossystems Code Review - openembedded-core.git/commit
python-native: Reverts usage of distutils.sysconfig
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Fri, 20 Feb 2015 21:40:47 +0000 (15:40 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Feb 2015 17:35:13 +0000 (17:35 +0000)
commit3c76d5ef1f4d5270c94661d9fde7e31391b5cc2d
tree6c1b123c7e9596d4dbeb52e92b50da7212326dc5
parentd4ad95f0d5f08891637c644e85b09da9c4585059
python-native: Reverts usage of distutils.sysconfig
On older versions of Python, sysconfig read the Makefile and Python.h, generated at build time
now it uses _sysconfigdata which contains information about the HOST, erroneous in our case,
this causes an error when bulding something using distutils since it obtains compiler information and such.

Also fixes configuration of _ctypes/libffi

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
meta/recipes-devtools/python/python-native/revert_use_of_sysconfigdata.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-native_2.7.9.bb