]> git.tdb.fi Git - builder.git/commitdiff
Disable generation of .exp files on MSVC
authorMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 17:14:56 +0000 (19:14 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 17:29:46 +0000 (19:29 +0200)
They don't seem useful outside of circular import situations, which I
don't have.

plugins/msvc/msvclinker.cpp

index 31f9a4f8189f8ff9be0549edbb88751e7767b72e..8f0ac94e11dbe0e8464b8cef171b07d9111bd5fe 100644 (file)
@@ -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<FileTarget *>(d);