diff options
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/module.go b/android/module.go index cce4fa6cb..14e10e7de 100644 --- a/android/module.go +++ b/android/module.go @@ -1055,7 +1055,7 @@ func (m *ModuleBase) addRequiredDeps(ctx BottomUpMutatorContext) { // TODO(jiyong): the Make-side does this only when the required module is a shared // library or a native test. bothInAndroid := m.Device() && target.Os.Class == Device - nativeArch := m.Arch().ArchType.Multilib != string(MultilibCommon) + nativeArch := InList(m.Arch().ArchType.Multilib, []string{"lib32", "lib64"}) sameBitness := m.Arch().ArchType.Multilib == target.Arch.ArchType.Multilib if bothInAndroid && nativeArch && !sameBitness { return |