Issue #28190: Merge 3.6.

This commit is contained in:
Xavier de Gaye 2016-12-13 16:05:15 +01:00
commit f191a9e8e4
3 changed files with 8 additions and 3 deletions

View file

@ -1350,7 +1350,8 @@ class PyBuildExt(build_ext):
panel_library = 'panel'
if curses_library == 'ncursesw':
curses_defines.append(('HAVE_NCURSESW', '1'))
curses_includes.append('/usr/include/ncursesw')
if not cross_compiling:
curses_includes.append('/usr/include/ncursesw')
# Bug 1464056: If _curses.so links with ncursesw,
# _curses_panel.so must link with panelw.
panel_library = 'panelw'