From 4d3a372eeb064d879ce82dfe4066ce8456fcce7b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 29 Dec 2022 18:37:14 +0200 Subject: [PATCH] Correct MSVC tools' input suffixes --- plugins/msvc/msvcarchiver.cpp | 2 +- plugins/msvc/msvclinker.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.43.0