21 lines
723 B
Diff
21 lines
723 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:41:10.567792700 +0300
|
|
+++ Python-3.5.0/configure.ac 2015-09-21 13:41:11.868662600 +0300
|
|
@@ -5068,6 +5068,16 @@
|
|
THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
|
|
done
|
|
|
|
+case $host in
|
|
+ *-*-mingw*)
|
|
+ dnl Required for windows builds as Objects/exceptions.c require
|
|
+ dnl "errmap.h" from $srcdir/PC.
|
|
+ dnl Note we cannot use BASECPPFLAGS as autogenerated pyconfig.h
|
|
+ dnl has to be before customized located in ../PC.
|
|
+ CPPFLAGS="-I\$(srcdir)/PC $CPPFLAGS"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
AC_SUBST(SRCDIRS)
|
|
SRCDIRS="Parser Grammar Objects Python Modules Mac Programs"
|
|
AC_MSG_CHECKING(for build directories)
|