From 25016d158af927e0c9e70c3df4674f53fa54fec8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 3 Feb 2012 12:21:22 -0800 Subject: 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 Signed-off-by: Khem Raj --- meta/recipes-devtools/python/python_2.7.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/python/python_2.7.2.bb') diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index 654c85075..fb5e860fd 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 @@ require python.inc DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" -PR = "${INC_PR}.5" +PR = "${INC_PR}.6" DISTRO_SRC_URI ?= "file://sitecustomize.py" DISTRO_SRC_URI_linuxstdbase = "" @@ -20,6 +20,7 @@ SRC_URI += "\ file://remove_sqlite_rpath.patch \ file://setup_py_skip_cross_import_check.patch \ file://add-md5module-support.patch \ + file://host_include_contamination.patch \ " S = "${WORKDIR}/Python-${PV}" -- cgit v1.2.3