link stdc++. pthread and gcclib statically on windows

fixes the game throwing super cryptic errors when you dont have the right dlls
This commit is contained in:
Alug committed 2025-08-09 23:32:03 +01:00
1 parent ff6279a406
commit ca04e084a2
1 file changed
+1
+1
View File
@@ -15,6 +15,7 @@ endif
sources+=win32/Srb2win.rc
opts+=-DSTDC_HEADERS
libs+=-Wl,-Bstatic -lstdc++ -lpthread -lgcc -Wl,-Bdynamic
libs+=-ladvapi32 -lkernel32 -lmsvcrt -luser32
ifndef DEDICATED