diff options
Diffstat (limited to 'backend/ninja')
-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 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 |