diff options
author | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-13 16:04:14 +0100 |
---|---|---|
committer | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-12-13 16:04:14 +0100 |
commit | e13c3201fb66c4c211b4ebb7604d1435bedc1015 (patch) | |
tree | d088f408f51f9b32a82c7e6a2d29c47b0d6dd1d1 /setup.py | |
parent | Issue #28759: Fix the tests that fail with PermissionError when run as (diff) | |
download | cpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.tar.gz cpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.tar.bz2 cpython-e13c3201fb66c4c211b4ebb7604d1435bedc1015.zip |
Issue #28190: Cross compiling the _curses module does not use anymore
/usr/include/ncursesw as a headers search path.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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' |