diff options
Diffstat (limited to 'meta/recipes-devtools/python/python/06-avoid_usr_lib_termcap_path_in_linking.patch')
-rw-r--r-- | meta/recipes-devtools/python/python/06-avoid_usr_lib_termcap_path_in_linking.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/python/python/06-avoid_usr_lib_termcap_path_in_linking.patch b/meta/recipes-devtools/python/python/06-avoid_usr_lib_termcap_path_in_linking.patch deleted file mode 100644 index 435b319013..0000000000 --- a/meta/recipes-devtools/python/python/06-avoid_usr_lib_termcap_path_in_linking.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | The poison directories patch has detected library path issue while | ||
4 | compiling the python in cross environment, as seen bellow. | ||
5 | |||
6 | warning: library search path "/usr/lib/termcap" is unsafe for cross-compilation | ||
7 | |||
8 | This Patch fixes this issue in the python build environment. | ||
9 | 11 Oct 2010 | ||
10 | Nitin A Kamble <nitin.a.kamble@intel.com> | ||
11 | |||
12 | 2011/09/29 | ||
13 | Rebased for python 2.7.2 | ||
14 | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
15 | |||
16 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
17 | |||
18 | diff --git a/setup.py b/setup.py | ||
19 | index 67eda74..59c537e 100644 | ||
20 | --- a/setup.py | ||
21 | +++ b/setup.py | ||
22 | @@ -761,12 +761,10 @@ class PyBuildExt(build_ext): | ||
23 | pass # Issue 7384: Already linked against curses or tinfo. | ||
24 | elif curses_library: | ||
25 | readline_libs.append(curses_library) | ||
26 | - elif self.compiler.find_library_file(lib_dirs + | ||
27 | - ['/usr/lib/termcap'], | ||
28 | + elif self.compiler.find_library_file(lib_dirs, | ||
29 | 'termcap'): | ||
30 | readline_libs.append('termcap') | ||
31 | exts.append( Extension('readline', ['readline.c'], | ||
32 | - library_dirs=['/usr/lib/termcap'], | ||
33 | extra_link_args=readline_extra_link_args, | ||
34 | libraries=readline_libs) ) | ||
35 | else: | ||