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

View File

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