diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index a1559e24a..13665936b 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -179,6 +179,9 @@ nimblepath="$home/.nimble/pkgs/" # Configuration for the GNU C/C++ compiler: @if windows: #gcc.path = r"$nim\dist\mingw\bin" + @if gcc: + gcc.options.linker %= "-Wl,-Bstatic -lpthread" + @end @if tcc: tlsEmulation:on @end |