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:31:55 +01:00
1 parent 0c8df833e9
commit 56d03042ec
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