]> git.tdb.fi Git - builder.git/blobdiff - source/gnulinker.cpp
Remove the -lmingw32 hack
[builder.git] / source / gnulinker.cpp
index 51da81f923cba4d649b181ee28cf68a01104b651..9f6230e481f2f0260275d19d9a88e2ff4a41e46e 100644 (file)
@@ -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)
        {