[issue28190] Detect curses headers correctly for cross-compiling
Xavier de Gaye
report at bugs.python.org
Fri Dec 9 16:10:24 EST 2016
Xavier de Gaye added the comment:
The only change that is needed here is to not include /usr/include/ncursesw in setup.py when cross compiling to ensure that the headers of the build platform are not included. When cross compiling Python, it is the responsability of the packager to set the appropriate CPPFLAGS and LDFLAGS upon invoking configure, so that the curses headers are included and the curses libraries are linked at build time.
The same is true for the other extension modules, readline, openssl, libffi, etc...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28190>
_______________________________________
More information about the Python-bugs-list
mailing list