Fix #248 - static build on Windows

This commit is contained in:
Ganesh Viswanathan 2020-09-01 12:38:21 -05:00
commit b82d7ce87b

View file

@ -24,3 +24,7 @@ switch("out", currentSourcePath.parentDir() / "toast".addFileExt(ExeExt))
# Define TOAST for globals.nim
switch("define", "TOAST")
# Static for Windows - #248
when defined(Windows):
switch("passL", "-static")