| ... | @@ -8782,6 +8782,8 @@ endif() | ... | @@ -8782,6 +8782,8 @@ endif() |
| 8782 | if(ZIG_STATIC) | 8782 | if(ZIG_STATIC) |
| 8783 | if(APPLE) | 8783 | if(APPLE) |
| 8784 | set(EXE_LDFLAGS "-static-libgcc -static-libstdc++") | 8784 | set(EXE_LDFLAGS "-static-libgcc -static-libstdc++") |
| | 8785 | elseif(MINGW) |
| | 8786 | set(EXE_LDFLAGS "-static-libgcc -static-libstdc++ -Wl,-Bstatic,--whole-archive -lwinpthread -lz3 -lz -lgomp -Wl,--no-whole-archive") |
| 8785 | else() | 8787 | else() |
| 8786 | set(EXE_LDFLAGS "-static") | 8788 | set(EXE_LDFLAGS "-static") |
| 8787 | endif() | 8789 | endif() |