From 5ab9fc580c3b37ad90f7e388cfeba76f3aab230f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 9 Mar 2022 00:58:16 +0100 Subject: Fix --linker option not working --- backend/ninja/Ninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3