@@ -26,11 +26,11 @@ include LibCommon.gmk ################################################################################ # libprefs on macosx do not use the unix code -ifeq ($(OPENJDK_TARGET_OS), macosx) +ifeq ($(call isTargetOs, macosx), true) LIBPREFS_EXCLUDE_SRC_PATTERNS := unix endif $(eval $(call SetupJdkLibrary, BUILD_LIBPREFS, \ NAME := prefs, \