mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
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>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user