LGTM.
This is exactly how I was working around it also.
On Fri 9 Feb 2018 at 01:11, Martin Storsjö wrote:
> There is no local wrapper function named _onexit in libmsvcrt.a
> or libmingwex.a, and the declaration in headers don't include
> any dllimport declaration.
>
> This makes i386 match the o
There is no local wrapper function named _onexit in libmsvcrt.a
or libmingwex.a, and the declaration in headers don't include
any dllimport declaration.
This makes i386 match the other architectures, and fixes linking
to this function with lld. (GNU ld manages to resolve calls to
_onexit into __im