--- a/make/lib/Lib-java.desktop.gmk Tue Feb 05 10:24:39 2019 +0100
+++ b/make/lib/Lib-java.desktop.gmk Tue Feb 05 14:57:24 2019 +0100
@@ -39,7 +39,7 @@
################################################################################
# Create the libjsound library
-ifneq ($(OPENJDK_TARGET_OS), aix)
+ifneq ($(call isTargetOs, aix), true)
LIBJSOUND_CFLAGS := \
$(ALSA_CFLAGS) \
@@ -48,14 +48,14 @@
-DUSE_DAUDIO=TRUE \
#
- ifneq ($(OPENJDK_TARGET_OS), solaris)
+ ifneq ($(call isTargetOs, solaris), true)
LIBJSOUND_CFLAGS += \
-DUSE_PLATFORM_MIDI_OUT=TRUE \
-DUSE_PLATFORM_MIDI_IN=TRUE \
#
endif
- ifeq ($(OPENJDK_TARGET_OS), macosx)
+ ifeq ($(call isTargetOs, macosx), true)
LIBJSOUND_TOOLCHAIN := TOOLCHAIN_LINK_CXX
endif
@@ -87,7 +87,7 @@
################################################################################
# Create the macosx specific osxapp and osx libraries
-ifeq ($(OPENJDK_TARGET_OS), macosx)
+ifeq ($(call isTargetOs, macosx), true)
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXAPP, \
NAME := osxapp, \
@@ -142,4 +142,3 @@
$(BUILD_LIBOSX): $(call FindLib, java.base, java)
endif
-