diff --git a/cc/cc.go b/cc/cc.go index f64107b33..1c28feae7 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -824,13 +824,13 @@ func (c *ccLibrary) moduleTypeLdflags(ctx common.AndroidModuleContext, toolchain "-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 {