--- a/make/lib/Lib-java.base.gmk Tue Feb 05 10:24:39 2019 +0100
+++ b/make/lib/Lib-java.base.gmk Tue Feb 05 14:57:24 2019 +0100
@@ -99,7 +99,7 @@
################################################################################
# Create the macosx security library
-ifeq ($(OPENJDK_TARGET_OS), macosx)
+ifeq ($(call isTargetOs, macosx), true)
# JavaNativeFoundation framework not supported in static builds
ifneq ($(STATIC_BUILD), true)
@@ -130,7 +130,7 @@
################################################################################
# Create the jsig library
-ifeq ($(OPENJDK_TARGET_OS_TYPE), unix)
+ifeq ($(call isTargetOsType, unix), true)
ifeq ($(STATIC_BUILD), false)
$(eval $(call SetupJdkLibrary, BUILD_LIBJSIG, \
NAME := jsig, \
@@ -205,7 +205,7 @@
################################################################################
# Copy tzmappings file for Windows
-ifeq ($(OPENJDK_TARGET_OS), windows)
+ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupCopyFiles, COPY_TZMAPPINGS, \
FILES := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/windows/conf/tzmappings, \
DEST := $(call FindLibDirForModule, $(MODULE)), \