Skip to content

Commit cb48012

Browse files
committed
chore: make lpthread optional if using windows with clang (#65)
1 parent 5ccc122 commit cb48012

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libs/lsquic

Submodule lsquic updated 286 files

lsquic/lsquic_ffi.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Copyright (c) Status Research & Development GmbH
33

44
when defined(windows):
5-
{.passc: "-D_WIN32_WINNT=0x0600".}
65
{.passl: "-lws2_32".}
7-
{.passl: "-lpthread".}
6+
when defined(clang):
7+
{.passl: "-lpthread".}
88

99
import std/[os, strformat, strutils]
1010
import chronos/osdefs

prelude.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Copyright (c) Status Research & Development GmbH
33

44
when defined(windows):
5-
{.passc: "-D_WIN32_WINNT=0x0600".}
65
{.passl: "-lws2_32".}
7-
{.passl: "-lpthread".}
6+
when defined(clang):
7+
{.passl: "-lpthread".}
88

99
import std/[os, strformat, strutils]
1010
import chronos/osdefs

0 commit comments

Comments
 (0)