]> git.tdb.fi Git - builder.git/commitdiff
Add .lib as a static library suffix for Windows
authorMikko Rasa <tdb@tdb.fi>
Tue, 4 Oct 2016 14:41:50 +0000 (17:41 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 4 Oct 2016 14:41:50 +0000 (17:41 +0300)
source/architecture.cpp

index ac31abdc30428307fd46278a44508b1222872dfb..fe0033891feb903867bc7eb037b8ca9d480c0943 100644 (file)
@@ -126,6 +126,7 @@ Architecture::Architecture(Builder &b, const string &spec):
                even though technically they are linked statically. */
                sharedlib_patterns.push_back(Pattern("lib%.dll.a"));
                staticlib_patterns.push_back(Pattern("lib%.a"));
+               staticlib_patterns.push_back(Pattern("%.lib"));
                executable_patterns.push_back(Pattern("%.exe"));
        }
        else