diff --git a/cc/cc.go b/cc/cc.go index 4c697232e..b27e8eee3 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -675,7 +675,7 @@ func (c *Module) DepsMutator(actx android.BottomUpMutatorContext) { variantLibs = append(variantLibs, entry+ndkLibrarySuffix) } } else { - nonvariantLibs = append(variantLibs, entry) + nonvariantLibs = append(nonvariantLibs, entry) } } return nonvariantLibs, variantLibs