diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-02-03 12:21:22 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-08 00:50:28 +0000 |
commit | fadd55460381679483a5786fe27fb34e31113d32 (patch) | |
tree | 744de982c9dc17854ab71d6797555df8317192a8 /meta/recipes-devtools/python/python_2.7.2.bb | |
parent | 7d9ac1db134f30550bc31a08c0040339539cd1e3 (diff) | |
download | poky-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.bb | 3 |
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 @@ | |||
1 | require python.inc | 1 | require python.inc |
2 | DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" | 2 | DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" |
3 | DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" | 3 | DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" |
4 | PR = "${INC_PR}.5" | 4 | PR = "${INC_PR}.6" |
5 | 5 | ||
6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" | 6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" |
7 | DISTRO_SRC_URI_linuxstdbase = "" | 7 | DISTRO_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 | ||
25 | S = "${WORKDIR}/Python-${PV}" | 26 | S = "${WORKDIR}/Python-${PV}" |