Ah. But `docker/ohrrpgce-build-env-wine/Dockerfile` seems to download the 
specific toolchain that's actually used on the build machine, as far as I can 
tell.

Another two possible solutions:
* use a mingw.org toolchain instead
* If the build machine is upgraded to a prebuilt mingw-w64 7.0.0 toolchain I 
could probably provide a patched libwinpthread.a to link against

Also I guess we probably need to statically link to libwinpthread but I'm not 
sure. I think the switch from g++ to gcc may have had the effect of not 
statically linking game/custom.exe to pthread and instead depending on pthread 
symbols in SDL_mixer.dll (since I patched mxe to have SDL_mixer.dll export 
symbols from libraries it contains). I've seen errors like `"GAME.EXE is linked 
to missing export SDL_MIXER.DLL:pthread_getspecific"`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1241#issuecomment-1172908447
You are receiving this because you are subscribed to this thread.

Message ID: <ohrrpgce/ohrrpgce/issues/1241/1172908...@github.com>
_______________________________________________
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to