diff --git a/target/product/core.mk b/target/product/core.mk index 188d8fd0e6..6f93876fe1 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -76,7 +76,9 @@ PRODUCT_PACKAGES := \ # force WITH_HOST_DALVIK on userdebug and user builds. # TODO: this is redundant with a similar clause in build/core/main.mk. ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT))) + ifeq ($(HOST_OS),linux) WITH_HOST_DALVIK := true + endif endif # host-only dependencies