Fix soname
-Wl,soname= was missing the .so extension
Change-Id: Ide5f2b22f5c37a20463a2314047560e501b95987
diff --git a/cc/cc.go b/cc/cc.go
index f64107b..1c28fea 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -824,13 +824,13 @@
"-nostdlib",
"-Wl,--gc-sections",
sharedFlag,
- "-Wl,-soname," + libName,
+ "-Wl,-soname," + libName + sharedLibraryExtension,
}
} else {
return []string{
"-Wl,--gc-sections",
sharedFlag,
- "-Wl,-soname," + libName,
+ "-Wl,-soname," + libName + sharedLibraryExtension,
}
}
} else {