diff options
-rw-r--r-- | core/prebuilt.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/prebuilt.mk b/core/prebuilt.mk index ba0e757..d3f9d1a 100644 --- a/core/prebuilt.mk +++ b/core/prebuilt.mk @@ -25,6 +25,10 @@ include $(BUILD_SYSTEM)/prebuilt_internal.mk ifneq ($(my_module_multilib),both) my_skip_non_preferred_arch := true endif # $(my_module_multilib) +# For apps, we don't want to set up the prebuilt apk rule twice even if "LOCAL_MULTILIB := both". +ifeq (APPS,$(LOCAL_MODULE_CLASS)) +my_skip_non_preferred_arch := true +endif endif # $(my_module_arch_supported) ifndef my_skip_non_preferred_arch |