I'm creating a small cross platform program with C++/wxWidgets. By using static linking I managed to get only one .exe file for Windows in the end. However it still requires a small (18 KB) mingwm10.dll
Although I can just distribute my app with this dll, I'd prefer to have it "inside" the .exe... Is it possible?
Thanks
If you use the configure script to compile wxWidgets, add --disable-threads
. This will set wxUSE_THREADS
to 0, wxThread class and all the code that depends on threads will not be compiled. Automatically mingwm10.dll will not be linked.