Skip to content

Commit

Permalink
Only link with -static on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Sep 16, 2023
1 parent 0255b9c commit 8a5b43d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.nims
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
--threads:on
--mm:orc
--tls_emulation:off
--pass_l:"-static"

if host_os == "windows":
--pass_l:"-static"

--warning:"LockLevel:off"
--warning:"UseBase:off"
Expand Down

0 comments on commit 8a5b43d

Please sign in to comment.