rust: Fix handling of bindgen header libs
Static libraries were being appended to the list of header library dependencies. They should not be. This also makes sure we track them appropriately in Make. Test: m blueprint_tests Change-Id: Ifa664f09fe2102aea57d22cbaaeba71f0c26074d
This commit is contained in:
@@ -346,6 +346,6 @@ func (b *bindgenDecorator) SourceProviderDeps(ctx DepsContext, deps Deps) Deps {
|
||||
|
||||
deps.SharedLibs = append(deps.SharedLibs, b.ClangProperties.Shared_libs...)
|
||||
deps.StaticLibs = append(deps.StaticLibs, b.ClangProperties.Static_libs...)
|
||||
deps.HeaderLibs = append(deps.StaticLibs, b.ClangProperties.Header_libs...)
|
||||
deps.HeaderLibs = append(deps.HeaderLibs, b.ClangProperties.Header_libs...)
|
||||
return deps
|
||||
}
|
||||
|
Reference in New Issue
Block a user