From 7370415f1196f3121b57d112b883705e61a703aa Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Sat, 30 Nov 2024 13:10:07 +0300 Subject: [PATCH] Keep gnu lib/link changes for windows. --- src/sw/client/common/sw_context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sw/client/common/sw_context.cpp b/src/sw/client/common/sw_context.cpp index 97fdba6f..0a0ea34c 100644 --- a/src/sw/client/common/sw_context.cpp +++ b/src/sw/client/common/sw_context.cpp @@ -71,8 +71,10 @@ static sw::TargetSettings compilerTypeFromStringCaseI(const sw::UnresolvedPackag ts["native"]["program"]["c"] = set_with_version("org.gnu.gcc"); ts["native"]["program"]["cpp"] = set_with_version("org.gnu.gpp"); ts["native"]["program"]["asm"] = ts["native"]["program"]["c"].getValue(); +#ifdef _WIN32 // dont change for other patforms for now ts["native"]["program"]["lib"] = set_with_version("org.gnu.binutils.ar"); ts["native"]["program"]["link"] = ts["native"]["program"]["cpp"].getValue(); +#endif } else if (0 || compiler.ppath == "clang"