21 lines
659 B
Diff
21 lines
659 B
Diff
diff -urN a/configure.ac b/configure.ac
|
|
--- a/configure.ac 2014-10-11 14:18:56.621108800 +0100
|
|
+++ b/configure.ac 2014-10-11 14:18:59.296261800 +0100
|
|
@@ -4838,6 +4838,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"
|
|
AC_MSG_CHECKING(for build directories)
|