Only turn host build on for linux
Change-Id: I595948b159bc6a2bf295fd11ab831f978e38c799
diff --git a/target/product/core.mk b/target/product/core.mk
index 188d8fd..6f93876 100644
--- a/target/product/core.mk
+++ b/target/product/core.mk
@@ -76,7 +76,9 @@
# 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