Skip to contentSkip to conversation

python3: use ncursesw, not ncurses

PATCH New Alexander Kanavin 1 participant 1 message Jan 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: use ncursesw, not ncurses

So that wide-char functions are accssible.

[YOCTO #13142]

---
 meta/recipes-devtools/python/python3/130-readline-setup.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3/130-readline-setup.patch +1 -1
index c805652d694..cfa712678b9 100644
@@ -49,7 +49,7 @@ Upstream-Status: Inappropriate [Embedded Specific]
 -            curses_library = 'ncurses'
 -        elif self.compiler.find_library_file(lib_dirs, 'curses'):
 -            curses_library = 'curses'
-+        curses_library = "ncurses"
++        curses_library = "ncursesw"
  
          if host_platform == 'darwin':
              os_release = int(os.uname()[2].split('.')[0])
Signature · 1 line
2.17.1