aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-09 01:04:40 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-09 01:04:40 +0100
commit7677125c3a99c0d794f7bdf9186a03782b065d11 (patch)
treec71319b86fd8d7ad92cbc2c9fcf03ce87e0b5840 /backend
parent5ab9fc580c3b37ad90f7e388cfeba76f3aab230f (diff)
asdf
Diffstat (limited to 'backend')
-rw-r--r--backend/ninja/Ninja.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 61a404f..eecbaee 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -813,8 +813,8 @@ namespace backend
if(!config.linker.empty())
allLinkerFlags += " -fuse-ld=" + config.linker;
- if(isSamePlatformFamily(config.platform, PLATFORM_LINUX))
- allLinkerFlags += "-pthread";
+ if(isSamePlatformFamily(config.platform, PLATFORM_POSIX))
+ 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