Skip to content

Commit

Permalink
Keep gnu lib/link changes for windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Nov 30, 2024
1 parent c59600b commit 7370415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sw/client/common/sw_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7370415

Please sign in to comment.