summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch')
-rw-r--r--meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch b/meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch
deleted file mode 100644
index f26bd38b02..0000000000
--- a/meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Patch setup.py so that the detect_modules() function looks for required
2libraries and headers in STAGING_LIBDIR / STAGING_INCDIR.
3
4Without this patch, several extension modules are not built, even though
5their dependencies are present in the compiler's search paths.
6The result is the following warning, and ultimately incomplete packages:
7
8| The necessary bits to build these optional modules were not found:
9| _bz2 _curses_panel _dbm
10| _gdbm _lzma _sqlite3
11| nis readline zlib
12| To find the necessary bits, look in setup.py in detect_modules() for the module's name.
13
14Upstream-Status: Inappropriate [Cross compile specific]
15
16Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
17
18Index: Python-3.4.3/setup.py
19===================================================================
20--- Python-3.4.3.orig/setup.py
21+++ Python-3.4.3/setup.py
22@@ -521,6 +521,8 @@ class PyBuildExt(build_ext):
23 else:
24 lib_dirs = self.compiler.library_dirs[:]
25 inc_dirs = self.compiler.include_dirs[:]
26+ lib_dirs.append(os.environ.get('STAGING_LIBDIR'))
27+ inc_dirs.append(os.environ.get('STAGING_INCDIR'))
28 exts = []
29 missing = []
30