From e76bb83fcdec382ee2eda0326f1f3ce416d05a54 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 5 May 2015 11:41:52 -0700 Subject: [PATCH] Fix JDK check for USE_MINGW=1. Change-Id: I3bdd9258e8870fc00a5f1f74682a949dc487d851 --- core/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index 41e280185..3bb8c0429 100644 --- a/core/main.mk +++ b/core/main.mk @@ -175,7 +175,7 @@ endif # # For Java 1.7, we require OpenJDK on linux and Oracle JDK on Mac OS. requires_openjdk := false -ifeq ($(HOST_OS), linux) +ifeq ($(BUILD_OS),linux) requires_openjdk := true endif