]> git.tdb.fi Git - builder.git/commitdiff
Correct MSVC tools' input suffixes
authorMikko Rasa <tdb@tdb.fi>
Thu, 29 Dec 2022 16:37:14 +0000 (18:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 30 Dec 2022 08:12:49 +0000 (10:12 +0200)
plugins/msvc/msvcarchiver.cpp
plugins/msvc/msvclinker.cpp

index adcb8e74f042a2c228c74d254d1becb77a14fae8..2434eebf6d2343d611a819a6ed1ccd56d291f384 100644 (file)
@@ -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);
index 8008791569a37d2c57816d0e68a8199b6124eddf..19ee284e0b0a11fe3c0a9dae611e259e0a0e2f89 100644 (file)
@@ -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;