From: Mikko Rasa Date: Wed, 26 Dec 2018 22:41:03 +0000 (+0200) Subject: Remove the -lmingw32 hack X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=bf227e1b5e956cb8554d9e57077a02d3aa169bf2;p=builder.git Remove the -lmingw32 hack Libmspcore now implements main() on Windows so it isn't needed anymore. --- diff --git a/source/gnulinker.cpp b/source/gnulinker.cpp index 51da81f..9f6230e 100644 --- a/source/gnulinker.cpp +++ b/source/gnulinker.cpp @@ -300,9 +300,6 @@ Task *GnuLinker::Linker::run(const Target &target) const bool static_link_ok = (binfo.libmode<=BuildInfo::STATIC); - if(architecture->get_system()=="windows" && architecture->get_cross_prefix().find("mingw")!=string::npos) - argv.push_back("-lmingw32"); - const Target::Dependencies &depends = target.get_dependencies(); for(Target::Dependencies::const_iterator i=depends.begin(); i!=depends.end(); ++i) {