cpython: 2035c5ad4239 (original) (raw)

Mercurial > cpython

changeset 77529:2035c5ad4239

Issue #14225: Fix Unicode support for curses (#12567) on OS X: 1. on OS X, there is no separate /usr/lib/libcursesw nor libpanelw 2. _XOPEN_SOURCE_EXTENDED must be enabled for _curses build [#14225]

Ned Deily nad@acm.org
date Wed, 20 Jun 2012 23:47:14 -0700
parents dd4f7d5c51c7
children d8244d4dbe37
files Misc/NEWS setup.py
diffstat 2 files changed, 15 insertions(+), 0 deletions(-)[+] [-] Misc/NEWS 2 setup.py 13

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -165,6 +165,8 @@ Tests Build ----- +- Issue #14225: Fix Unicode support for curses (#12567) on OS X +

--- a/setup.py +++ b/setup.py @@ -1185,6 +1185,18 @@ class PyBuildExt(build_ext): # Bug 1464056: If _curses.so links with ncursesw, # _curses_panel.so must link with panelw. panel_library = 'panelw'

if curses_library.startswith('ncurses'): curses_libs = [curses_library] @@ -1213,6 +1225,7 @@ class PyBuildExt(build_ext): self.compiler.find_library_file(lib_dirs, panel_library)): exts.append( Extension('_curses_panel', ['_curses_panel.c'], include_dirs=curses_includes,