summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-04-20 23:35:15 +0800
committerGitHub <noreply@github.com>2023-04-20 17:35:15 +0200
commitf9477396a6f21beaa8ffd3de19129b11fe7169f1 (patch)
tree21c8e4ac371662ca89c87af3320b6cb221f2d23e /lib
parented7c6cdc984b12a30a44344167083ec0dc46cf9a (diff)
downloadNim-f9477396a6f21beaa8ffd3de19129b11fe7169f1.tar.gz
static link pthread correctly (#21693)
Diffstat (limited to 'lib')
-rw-r--r--lib/std/typedthreads.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/std/typedthreads.nim b/lib/std/typedthreads.nim
index 6cc5dd9e0..2c1cf6f1d 100644
--- a/lib/std/typedthreads.nim
+++ b/lib/std/typedthreads.nim
@@ -35,8 +35,6 @@
 ##  deinitLock(L)
 
 
-when defined(windows) and defined(gcc) and (not compileOption("tlsEmulation")):
-  {.passl: "-Wl,-Bstatic -lpthread -Wl,-Bdynamic".}
 
 import std/private/[threadtypes]
 export Thread