diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-16 20:05:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-16 20:05:22 +0100 |
commit | 5100c0659e39dd82a3b979b859704e7dbf01e2f1 (patch) | |
tree | b89f604de47d2f3452192fdb0f482cbb4f00ea44 | |
parent | 1ffc823ae7227463aa46fe7dec312695b9a45050 (diff) |
Replace lpthread with pthread
-rw-r--r-- | backend/ninja/Ninja.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index b6f2250..59b0a3a 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -278,7 +278,7 @@ namespace backend } // TODO: Allow configuring default linking flags. Maybe have `package.useThreads = false` to disable this flag - string allLinkerFlags = "-lpthread"; + string allLinkerFlags = "-pthread"; // TODO: Somehow check loading order, because it has to be correct to work.. Or does it for dynamic libraries? // Anyways it's required for static libraries (especially on Windows) @@ -464,4 +464,4 @@ namespace backend else return Result<bool>::Err(execResult.getErrMsg()); } -}
\ No newline at end of file +} |