summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-02-03 12:21:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-08 00:50:28 +0000
commitfadd55460381679483a5786fe27fb34e31113d32 (patch)
tree744de982c9dc17854ab71d6797555df8317192a8 /meta/recipes-devtools/python/python_2.7.2.bb
parent7d9ac1db134f30550bc31a08c0040339539cd1e3 (diff)
downloadpoky-fadd55460381679483a5786fe27fb34e31113d32.tar.gz
python: Fix build failure of python-elementtree on x86_64
The problem is due to mixing of headers from host system thusly corrected in setup.py by checkinng if we are cross compiling (From OE-Core rev: 25016d158af927e0c9e70c3df4674f53fa54fec8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index 654c850759..fb5e860fdb 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -1,7 +1,7 @@
1require python.inc 1require python.inc
2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" 2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" 3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
4PR = "${INC_PR}.5" 4PR = "${INC_PR}.6"
5 5
6DISTRO_SRC_URI ?= "file://sitecustomize.py" 6DISTRO_SRC_URI ?= "file://sitecustomize.py"
7DISTRO_SRC_URI_linuxstdbase = "" 7DISTRO_SRC_URI_linuxstdbase = ""
@@ -20,6 +20,7 @@ SRC_URI += "\
20 file://remove_sqlite_rpath.patch \ 20 file://remove_sqlite_rpath.patch \
21 file://setup_py_skip_cross_import_check.patch \ 21 file://setup_py_skip_cross_import_check.patch \
22 file://add-md5module-support.patch \ 22 file://add-md5module-support.patch \
23 file://host_include_contamination.patch \
23" 24"
24 25
25S = "${WORKDIR}/Python-${PV}" 26S = "${WORKDIR}/Python-${PV}"