Fix soname

-Wl,soname= was missing the .so extension

Change-Id: Ide5f2b22f5c37a20463a2314047560e501b95987
This commit is contained in:
Colin Cross
2015-03-16 16:22:04 -07:00
parent bdd7b1c818
commit 6072ad4e9b

View File

@@ -824,13 +824,13 @@ func (c *ccLibrary) moduleTypeLdflags(ctx common.AndroidModuleContext, toolchain
"-nostdlib", "-nostdlib",
"-Wl,--gc-sections", "-Wl,--gc-sections",
sharedFlag, sharedFlag,
"-Wl,-soname," + libName, "-Wl,-soname," + libName + sharedLibraryExtension,
} }
} else { } else {
return []string{ return []string{
"-Wl,--gc-sections", "-Wl,--gc-sections",
sharedFlag, sharedFlag,
"-Wl,-soname," + libName, "-Wl,-soname," + libName + sharedLibraryExtension,
} }
} }
} else { } else {