commit | 3edeee113ac2f0be96348d7f5580414ae6642616 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Apr 04 12:59:48 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Apr 04 15:39:04 2017 -0700 |
tree | a502b1e42b7c205202ac915dcfbc2691a1357021 | |
parent | ac01ff5447518986f778be5b5c5a7bb0bf354e9c [diff] [blame] |
Add ctx.Windows() Replace ctx.Os() == android.Windows with ctx.Windows() Test: builds Change-Id: I7c24c39bcf54a51ad152b21c0021e40a0c07f189
diff --git a/cc/linker.go b/cc/linker.go index 07d9aa8..4d21d99 100644 --- a/cc/linker.go +++ b/cc/linker.go
@@ -156,7 +156,7 @@ } } - if ctx.Os() == android.Windows { + if ctx.Windows() { deps.LateStaticLibs = append(deps.LateStaticLibs, "libwinpthread") }