From: Mikko Rasa Date: Thu, 26 Jul 2012 19:47:24 +0000 (+0300) Subject: Make mingw linker happy X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=150d82f46dd34a00cdc59c69c641af2c635239d8;p=builder.git Make mingw linker happy --- diff --git a/source/gnulinker.cpp b/source/gnulinker.cpp index 7c3f872..d2ea51e 100644 --- a/source/gnulinker.cpp +++ b/source/gnulinker.cpp @@ -175,6 +175,8 @@ Task *GnuLinker::Linker::run(const Target &target) const if(static_link_ok) argv.push_back("-static"); + else if(architecture->get_system()=="windows") + argv.push_back("-Wl,--enable-auto-import"); return new ExternalTask(argv, work_dir); }