This fix works for me too. Thanks for figuring this out!
The only change I had to make to my platform.txt file was this change.
By the way, for this fix to work on my machine, I had to remove an extra space. Specifically, the space before "ldflags" had to be removed from here: {compiler.libraries. ldflags}
Good news. Thank you for sharing.
Thanks for that, it worked here. I don't know why because this line seems weird to me.