Merge pull request #2115 from oderwat/no-pthread-on-osx

Disable -pthread for compiler/linker on OSX
This commit is contained in:
Andreas Rumpf 2015-02-15 15:07:05 +01:00
commit 21fdda8fbc

View file

@ -95,7 +95,9 @@ when defined(windows):
importc: "TlsGetValue", stdcall, dynlib: "kernel32".} importc: "TlsGetValue", stdcall, dynlib: "kernel32".}
else: else:
{.passL: "-pthread".} when not defined(macosx):
{.passL: "-pthread".}
{.passC: "-pthread".} {.passC: "-pthread".}
type type