commit | 718eb27f5be351f50bb886e9ff6e119757643f34 | [log] [tgz] |
---|---|---|
author | Liz Kammer <eakammer@google.com> | Fri Jan 07 10:53:37 2022 -0500 |
committer | Liz Kammer <eakammer@google.com> | Fri Jan 14 12:52:59 2022 -0500 |
tree | 1efedb57af0cf88f8ff97be05048303652176755 | |
parent | 0bda815c2edc95ddbbe1bfd0dc2cb237f3bcc860 [diff] [blame] |
Delete toolchain_library Test: m && ci Change-Id: Iab5267e02e3559431d980c70a58b49c2b8b4e6de
diff --git a/cc/linker.go b/cc/linker.go index aaaca7a..bea65d4 100644 --- a/cc/linker.go +++ b/cc/linker.go
@@ -427,7 +427,7 @@ deps.LateSharedLibs = append(deps.LateSharedLibs, deps.SystemSharedLibs...) - if ctx.Windows() { + if ctx.Windows() && ctx.ModuleName() != "libwinpthread" { deps.LateStaticLibs = append(deps.LateStaticLibs, "libwinpthread") }