Add -static to the LDFLAGS to fix a problem where the wxWidgets samples won't run on my Windows 10 machine.
I think this is because no winpthread.dll exists.
Authored by: david_costanzo 2022-02-16
Parent: [r5884]
Child: [r5886]