diff options
Diffstat (limited to 'rust/bindgen.go')
-rw-r--r-- | rust/bindgen.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/bindgen.go b/rust/bindgen.go index 8accd03f9..2f84168bd 100644 --- a/rust/bindgen.go +++ b/rust/bindgen.go @@ -398,7 +398,7 @@ func (b *bindgenDecorator) SourceProviderDeps(ctx DepsContext, deps Deps) Deps { // // This is necessary to avoid a circular dependency between the source variant and the // dependent cc module. - deps.StaticLibs = append(deps.StaticLibs, String(b.Properties.Static_inline_library)) + deps.WholeStaticLibs = append(deps.WholeStaticLibs, String(b.Properties.Static_inline_library)) } deps.SharedLibs = append(deps.SharedLibs, b.ClangProperties.Shared_libs.GetOrDefault(ctx, nil)...) |