Add dependencies on late static libraries
Late static libraries were added to the build command line, but not
the implicit dependencies.
Change-Id: I20ed8be6ae1ec7c1b78f16a6d1da7d1535ff5cba
diff --git a/cc/builder.go b/cc/builder.go
index 78fe435..f46a670 100644
--- a/cc/builder.go
+++ b/cc/builder.go
@@ -223,6 +223,7 @@
deps := []string{ldCmd}
deps = append(deps, sharedLibs...)
deps = append(deps, staticLibs...)
+ deps = append(deps, lateStaticLibs...)
deps = append(deps, wholeStaticLibs...)
if crtBegin != "" {
deps = append(deps, crtBegin, crtEnd)