Limit unique_host_soname to just host modules am: 627d83db71
am: 808b3eb021
Change-Id: Ice5718867884f95f76fa17162c26b3c04d33d4e3
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1611,7 +1611,7 @@ func (library *libraryLinker) props() []interface{} {
|
|||||||
func (library *libraryLinker) getLibName(ctx ModuleContext) string {
|
func (library *libraryLinker) getLibName(ctx ModuleContext) string {
|
||||||
name := ctx.ModuleName()
|
name := ctx.ModuleName()
|
||||||
|
|
||||||
if Bool(library.Properties.Unique_host_soname) {
|
if ctx.Host() && Bool(library.Properties.Unique_host_soname) {
|
||||||
if !strings.HasSuffix(name, "-host") {
|
if !strings.HasSuffix(name, "-host") {
|
||||||
name = name + "-host"
|
name = name + "-host"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user