summaryrefslogtreecommitdiff
path: root/rust/binary_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rust/binary_test.go')
-rw-r--r--rust/binary_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/binary_test.go b/rust/binary_test.go
index fc4c56037..dff94ac95 100644
--- a/rust/binary_test.go
+++ b/rust/binary_test.go
@@ -185,7 +185,7 @@ func TestStaticBinaryFlags(t *testing.T) {
if !android.InList("libc", fizzMod.Properties.AndroidMkStaticLibs) {
t.Errorf("static binary not linking against libc as a static library")
}
- if len(fizzMod.Properties.AndroidMkSharedLibs) > 0 {
+ if len(fizzMod.transitiveAndroidMkSharedLibs.ToList()) > 0 {
t.Errorf("static binary incorrectly linking against shared libraries")
}
}