Skip to content

Commit

Permalink
configure.ac: set MINGW stack reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyd2019 authored and lazka committed Aug 25, 2023
1 parent 5ab35cc commit d25b6dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3537,6 +3537,11 @@ then
VxWorks*)
LINKFORSHARED='-Wl,-export-dynamic';;
esac
case $host in
*-*-mingw*)
# for https://bugs.python.org/issue40458 on MINGW
LINKFORSHARED="-Wl,--stack,2000000";;
esac
fi
AC_MSG_RESULT($LINKFORSHARED)

Expand Down

0 comments on commit d25b6dd

Please sign in to comment.