aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/linker.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/linker.go b/cc/linker.go
index 46199269..07d9aa80 100644
--- a/cc/linker.go
+++ b/cc/linker.go
@@ -156,6 +156,10 @@ func (linker *baseLinker) linkerDeps(ctx BaseModuleContext, deps Deps) Deps {
}
}
+ if ctx.Os() == android.Windows {
+ deps.LateStaticLibs = append(deps.LateStaticLibs, "libwinpthread")
+ }
+
return deps
}