diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2015-06-16 15:29:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:37 +0100 |
commit | fbed86a87064783be376179b3627f55612cd6188 (patch) | |
tree | 239dfa53e7d0f9266836e1e0355aa5ee4195a410 /meta/recipes-devtools | |
parent | 81e469b0308b141e0e727d5e6751ba1382ebe491 (diff) | |
download | poky-fbed86a87064783be376179b3627f55612cd6188.tar.gz |
python3-ctypes: Fix cross compilation for arm targets
When cross compiling for arm targets ctypes compilation fails because
it uses _sysconfigdata from the HOST, this patches makes it use the
one from TARGET fixing compilation of this module
[YOCTO #7873]
(From OE-Core rev: c254807c9d1b515b17c4fc9ee92f6a86aaaac1f6)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Jonas Göransson <jonas.goransson@qmatic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.4.3.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.4.3.bb b/meta/recipes-devtools/python/python3_3.4.3.bb index 8e0c2ba5f0..7eb99b1be7 100644 --- a/meta/recipes-devtools/python/python3_3.4.3.bb +++ b/meta/recipes-devtools/python/python3_3.4.3.bb | |||
@@ -69,6 +69,9 @@ export _PYTHON_PROJECT_BASE = "${B}" | |||
69 | export _PYTHON_PROJECT_SRC = "${S}" | 69 | export _PYTHON_PROJECT_SRC = "${S}" |
70 | export CCSHARED = "-fPIC" | 70 | export CCSHARED = "-fPIC" |
71 | 71 | ||
72 | # Fix ctypes cross compilation | ||
73 | export CROSSPYTHONPATH = "${B}/build/lib.linux-${TARGET_ARCH}-${PYTHON_MAJMIN}:${S}/Lib:${S}/Lib/plat-linux" | ||
74 | |||
72 | # No ctypes option for python 3 | 75 | # No ctypes option for python 3 |
73 | PYTHONLSBOPTS = "" | 76 | PYTHONLSBOPTS = "" |
74 | 77 | ||