diff --git a/nimterop/toast.nims b/nimterop/toast.nims index e9a3c99..e67a881 100644 --- a/nimterop/toast.nims +++ b/nimterop/toast.nims @@ -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")