diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-07-22 13:40:59 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-07-22 13:41:24 -0700 |
commit | 627d83db71a40081fcb88cd955a5952fe5a384d6 (patch) | |
tree | fcacce90db9877a4269204a3ad4af9b74997f6f4 /cc/cc.go | |
parent | bdf36579911b1e1dd4f8897276dc804ae6f63401 (diff) | |
download | build_soong-627d83db71a40081fcb88cd955a5952fe5a384d6.tar.gz build_soong-627d83db71a40081fcb88cd955a5952fe5a384d6.tar.bz2 build_soong-627d83db71a40081fcb88cd955a5952fe5a384d6.zip |
Limit unique_host_soname to just host modules
Change-Id: I41d050806a27473abb3788de43b7bf67f5d049a8
Diffstat (limited to 'cc/cc.go')
-rw-r--r-- | cc/cc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1611,7 +1611,7 @@ func (library *libraryLinker) props() []interface{} { func (library *libraryLinker) getLibName(ctx ModuleContext) string { name := ctx.ModuleName() - if Bool(library.Properties.Unique_host_soname) { + if ctx.Host() && Bool(library.Properties.Unique_host_soname) { if !strings.HasSuffix(name, "-host") { name = name + "-host" } |