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.

26 lines
837B

  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:00:49.172323000 +0300
  3. +++ Python-3.8.0/configure.ac 2019-10-22 10:00:50.295525000 +0300
  4. @@ -5450,8 +5450,21 @@
  5. THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
  6. done
  7. +case $host in
  8. + *-*-mingw*)
  9. + dnl Required for windows builds as Objects/exceptions.c require
  10. + dnl "errmap.h" from $srcdir/PC.
  11. + dnl Note we cannot use BASECPPFLAGS as autogenerated pyconfig.h
  12. + dnl has to be before customized located in ../PC.
  13. + CPPFLAGS="-I\$(srcdir)/PC $CPPFLAGS"
  14. + ;;
  15. +esac
  16. +
  17. AC_SUBST(SRCDIRS)
  18. SRCDIRS="Parser Objects Python Modules Modules/_io Programs"
  19. +case $host in
  20. + *-*-mingw*) SRCDIRS="$SRCDIRS PC";;
  21. +esac
  22. AC_MSG_CHECKING(for build directories)
  23. for dir in $SRCDIRS; do
  24. if test ! -d $dir; then