diff options
Diffstat (limited to 'meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch')
-rw-r--r-- | meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch b/meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch deleted file mode 100644 index 329734064b..0000000000 --- a/meta/recipes-devtools/python/python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | configure.ac: add CROSSPYTHONPATH into PYTHONPATH for PYTHON_FOR_BUILD | ||
2 | |||
3 | When building x86->x86 the system will try to execute .so and related items | ||
4 | from the default PYTHONPATH. This will fail if the target CPU contains | ||
5 | instructions that the host CPU does not have, add CROSSPYTHONPATH | ||
6 | into PYTHONPATH so we can prepend the list to find correct libs. | ||
7 | |||
8 | Upstream-Status: Inappropriate [OE-Core integration specific] | ||
9 | |||
10 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
12 | --- | ||
13 | configure.ac | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | Index: Python-2.7.14/configure.ac | ||
17 | =================================================================== | ||
18 | --- Python-2.7.14.orig/configure.ac | ||
19 | +++ Python-2.7.14/configure.ac | ||
20 | @@ -36,7 +36,7 @@ if test "$cross_compiling" = yes; then | ||
21 | AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) | ||
22 | fi | ||
23 | AC_MSG_RESULT($interp) | ||
24 | - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp | ||
25 | + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) '$interp | ||
26 | fi | ||
27 | elif test "$cross_compiling" = maybe; then | ||
28 | AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH]) | ||