summaryrefslogtreecommitdiffstats
path: root/lang/python/patches/011-do-not-prefer-ncursesw.patch
blob: c5f323c43ddc306a8074e24d0c42ee706fbc1572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/setup.py b/setup.py
index 7868b7b..86b0119 100644
--- a/setup.py
+++ b/setup.py
@@ -725,8 +725,8 @@ class PyBuildExt(build_ext):
         # use the same library for the readline and curses modules.
         if 'curses' in readline_termcap_library:
             curses_library = readline_termcap_library
-        elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
-            curses_library = 'ncursesw'
+        #elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
+        #    curses_library = 'ncursesw'
         elif self.compiler.find_library_file(lib_dirs, 'ncurses'):
             curses_library = 'ncurses'
         elif self.compiler.find_library_file(lib_dirs, 'curses'):