From bf227e1b5e956cb8554d9e57077a02d3aa169bf2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 27 Dec 2018 00:41:03 +0200 Subject: [PATCH] Remove the -lmingw32 hack Libmspcore now implements main() on Windows so it isn't needed anymore. --- source/gnulinker.cpp | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.43.0