Fix soname
-Wl,soname= was missing the .so extension Change-Id: Ide5f2b22f5c37a20463a2314047560e501b95987
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user