mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Issue #28190: Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
This commit is contained in:
parent
3a4e989324
commit
e13c3201fb
3 changed files with 8 additions and 3 deletions
3
setup.py
3
setup.py
|
@ -1349,7 +1349,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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue