diff options
Diffstat (limited to 'cc/library.go')
-rw-r--r-- | cc/library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library.go b/cc/library.go index 1871696c..e9e796ed 100644 --- a/cc/library.go +++ b/cc/library.go @@ -462,7 +462,7 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext, builderFlags := flagsToBuilderFlags(flags) - if !ctx.Darwin() { + if !ctx.Darwin() && !ctx.Windows() { // Optimize out relinking against shared libraries whose interface hasn't changed by // depending on a table of contents file instead of the library itself. tocPath := outputFile.RelPathString() |