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 Dec 22, 2024
1 parent a2f2c91 commit 479bff7
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 @@ -3725,6 +3725,11 @@ then
VxWorks*)
LINKFORSHARED='-Wl,-export-dynamic';;
esac
case $host in
*-*-mingw*)
# for https://bugs.python.org/issue40458 on MINGW
LINKFORSHARED="-Wl,--stack,4194304";;
esac
fi
AC_MSG_RESULT([$LINKFORSHARED])

Expand Down

0 comments on commit 479bff7

Please sign in to comment.