Skip to content

Commit 7a0e0c4

Browse files
jeremyd2019lazka
authored andcommitted
configure: set MINGW stack reserve
to match the MSVC build
1 parent d66cb92 commit 7a0e0c4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,6 +3844,11 @@ then
38443844
VxWorks*)
38453845
LINKFORSHARED='-Wl,-export-dynamic';;
38463846
esac
3847+
case $host in
3848+
*-*-mingw*)
3849+
# for https://bugs.python.org/issue40458 on MINGW
3850+
LINKFORSHARED="-Wl,--stack,4194304";;
3851+
esac
38473852
fi
38483853
AC_MSG_RESULT([$LINKFORSHARED])
38493854

0 commit comments

Comments
 (0)