From: Mikko Rasa Date: Tue, 3 Jan 2023 17:14:56 +0000 (+0200) Subject: Disable generation of .exp files on MSVC X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=cf23d115a29fc143fe367ca57097fa82f7cb9a34;p=builder.git Disable generation of .exp files on MSVC They don't seem useful outside of circular import situations, which I don't have. --- diff --git a/plugins/msvc/msvclinker.cpp b/plugins/msvc/msvclinker.cpp index 31f9a4f..8f0ac94 100644 --- a/plugins/msvc/msvclinker.cpp +++ b/plugins/msvc/msvclinker.cpp @@ -138,6 +138,8 @@ ExternalTask::Arguments MsvcLinker::_run(const Binary &bin, FS::Path &work_dir) else argv.push_back("/NOIMPLIB"); + argv.push_back("/NOEXP"); + for(Target *d: bin.get_dependencies()) { FileTarget *file = dynamic_cast(d);