Files
MINGW-packages/mingw-w64-python3/0700-CROSS-avoid-ncursesw-include-path-hack.patch
2015-09-21 15:47:39 +03:00

14 lines
421 B
Diff

diff -Naur Python-3.5.0-orig/configure.ac Python-3.5.0/configure.ac
--- Python-3.5.0-orig/configure.ac 2015-09-21 13:42:11.881910400 +0300
+++ Python-3.5.0/configure.ac 2015-09-21 13:42:23.013007200 +0300
@@ -4969,7 +4969,9 @@
# first curses header check
ac_save_cppflags="$CPPFLAGS"
+if test yes != "$cross_compiling"; then
CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+fi
AC_CHECK_HEADERS(curses.h ncurses.h)