Skip to content

Commit da6930f

Browse files
jeremyd2019lazka
authored andcommitted
configure.ac: set MINGW stack reserve
1 parent 50c4354 commit da6930f

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
@@ -3533,6 +3533,11 @@ then
35333533
VxWorks*)
35343534
LINKFORSHARED='-Wl,-export-dynamic';;
35353535
esac
3536+
case $host in
3537+
*-*-mingw*)
3538+
# for https://bugs.python.org/issue40458 on MINGW
3539+
LINKFORSHARED="-Wl,--stack,2000000";;
3540+
esac
35363541
fi
35373542
AC_MSG_RESULT($LINKFORSHARED)
35383543

0 commit comments

Comments
 (0)