Skip to content

Commit d25b6dd

Browse files
jeremyd2019lazka
authored andcommitted
configure.ac: set MINGW stack reserve
1 parent 5ab35cc commit d25b6dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3537,6 +3537,11 @@ then
35373537
VxWorks*)
35383538
LINKFORSHARED='-Wl,-export-dynamic';;
35393539
esac
3540+
case $host in
3541+
*-*-mingw*)
3542+
# for https://bugs.python.org/issue40458 on MINGW
3543+
LINKFORSHARED="-Wl,--stack,2000000";;
3544+
esac
35403545
fi
35413546
AC_MSG_RESULT($LINKFORSHARED)
35423547

0 commit comments

Comments
 (0)