From: Mikko Rasa Date: Thu, 29 Dec 2022 16:37:14 +0000 (+0200) Subject: Correct MSVC tools' input suffixes X-Git-Url: http://git.tdb.fi/?p=builder.git;a=commitdiff_plain;h=4d3a372eeb064d879ce82dfe4066ce8456fcce7b Correct MSVC tools' input suffixes --- diff --git a/plugins/msvc/msvcarchiver.cpp b/plugins/msvc/msvcarchiver.cpp index adcb8e7..2434eeb 100644 --- a/plugins/msvc/msvcarchiver.cpp +++ b/plugins/msvc/msvcarchiver.cpp @@ -13,7 +13,7 @@ MsvcArchiver::MsvcArchiver(Builder &b, const Architecture &a, const MicrosoftToo Tool(b, &a, "AR"), ms_tools(m) { - input_suffixes.push_back(".o"); + input_suffixes.push_back(".obj"); processing_unit = COMPONENT; set_command((ms_tools.get_vc_bin_dir()/"lib.exe").str(), false); set_run_external(_run); diff --git a/plugins/msvc/msvclinker.cpp b/plugins/msvc/msvclinker.cpp index 8008791..19ee284 100644 --- a/plugins/msvc/msvclinker.cpp +++ b/plugins/msvc/msvclinker.cpp @@ -19,8 +19,8 @@ MsvcLinker::MsvcLinker(Builder &b, const Architecture &a, const MicrosoftTools & Tool(b, &a, "LINK"), ms_tools(m) { - input_suffixes.push_back(".o"); - input_suffixes.push_back(".a"); + input_suffixes.push_back(".obj"); + input_suffixes.push_back(".lib"); processing_unit = COMPONENT;