Fix soname
-Wl,soname= was missing the .so extension Change-Id: Ide5f2b22f5c37a20463a2314047560e501b95987
This commit is contained in:
parent
bdd7b1c818
commit
6072ad4e9b
4
cc/cc.go
4
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 {
|
||||
|
|
Loading…
Reference in New Issue