--- old/make/lib/Lib-java.desktop.gmk 2019-02-05 15:45:15.014734089 +0100 +++ new/make/lib/Lib-java.desktop.gmk 2019-02-05 15:45:14.826734088 +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 -