Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
592B

  1. diff -Naur Python-3.8.0-orig/configure.ac Python-3.8.0/configure.ac
  2. --- Python-3.8.0-orig/configure.ac 2019-10-22 10:04:22.223897300 +0300
  3. +++ Python-3.8.0/configure.ac 2019-10-22 10:04:26.170704200 +0300
  4. @@ -5293,9 +5293,15 @@
  5. # first curses header check
  6. ac_save_cppflags="$CPPFLAGS"
  7. -if test "$cross_compiling" = no; then
  8. - CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
  9. -fi
  10. +case $host_os in
  11. + mingw*)
  12. + ;;
  13. + *)
  14. + if test "$cross_compiling" = no; then
  15. + CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
  16. + fi
  17. + ;;
  18. +esac
  19. AC_CHECK_HEADERS(curses.h ncurses.h)