aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-09 00:58:16 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-09 00:58:16 +0100
commit5ab9fc580c3b37ad90f7e388cfeba76f3aab230f (patch)
tree5071bee19c562967b03e922b3b84ec1c5fcd6294
parent0b3bdff8fb8b7db80d1da8206e6f16d21fe30aa7 (diff)
Fix --linker option not working
-rw-r--r--backend/ninja/Ninja.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 0e03e20..61a404f 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -814,7 +814,7 @@ namespace backend
allLinkerFlags += " -fuse-ld=" + config.linker;
if(isSamePlatformFamily(config.platform, PLATFORM_LINUX))
- allLinkerFlags = "-pthread";
+ 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