009-no-termcap-host-path.patch 1.0 KB

1234567891011121314151617181920212223
  1. Don't look in /usr/lib/termcap for libraries
  2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Index: b/setup.py
  4. ===================================================================
  5. --- a/setup.py
  6. +++ b/setup.py
  7. @@ -764,12 +764,9 @@
  8. pass # Issue 7384: Already linked against curses or tinfo.
  9. elif curses_library:
  10. readline_libs.append(curses_library)
  11. - elif self.compiler.find_library_file(lib_dirs +
  12. - ['/usr/lib/termcap'],
  13. - 'termcap'):
  14. + elif self.compiler.find_library_file(lib_dirs, 'termcap'):
  15. readline_libs.append('termcap')
  16. exts.append( Extension('readline', ['readline.c'],
  17. - library_dirs=['/usr/lib/termcap'],
  18. extra_link_args=readline_extra_link_args,
  19. libraries=readline_libs) )
  20. else: