011-do-not-prefer-ncursesw.patch 713 B

123456789101112131415
  1. diff --git a/setup.py b/setup.py
  2. index 2779658..b6d3d61 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -693,8 +693,8 @@ class PyBuildExt(build_ext):
  6. # use the same library for the readline and curses modules.
  7. if 'curses' in readline_termcap_library:
  8. curses_library = readline_termcap_library
  9. - elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
  10. - curses_library = 'ncursesw'
  11. + #elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
  12. + # curses_library = 'ncursesw'
  13. elif self.compiler.find_library_file(lib_dirs, 'ncurses'):
  14. curses_library = 'ncurses'
  15. elif self.compiler.find_library_file(lib_dirs, 'curses'):