From 5d5cf9581bfb7fb92df367ea326b18c5b71cc4e4 Mon Sep 17 00:00:00 2001 From: Cristian Ungureanu Date: Tue, 30 Nov 2021 09:43:01 +0200 Subject: Fixed a minor OS version comparison error. --- ACE/include/makeinclude/platform_macosx.GNU | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ACE/include/makeinclude/platform_macosx.GNU b/ACE/include/makeinclude/platform_macosx.GNU index aad2df12a20..ca08204574f 100644 --- a/ACE/include/makeinclude/platform_macosx.GNU +++ b/ACE/include/makeinclude/platform_macosx.GNU @@ -45,13 +45,13 @@ else ifeq ($(MACOS_MAJOR_VERSION),11) MACOS_CODENAME = $(MACOS_CODENAME_VER_11_latest) endif else ifeq ($(MACOS_MAJOR_VERSION),12) - ifeq ($(shell test $(MACOS_MINOR_VERSION) -gt 2; echo $$?),0) + ifeq ($(shell test $(MACOS_MINOR_VERSION) -gt 0; echo $$?),0) ## if the detected version is greater than the latest know version, ## just use the latest known version MACOS_CODENAME = $(MACOS_CODENAME_VER_12_latest) endif else - ## Unsupported major version + ## Unsupported major version -- will fallback to the last known version. MACOS_CODENAME = $(MACOS_CODENAME_VER_12_latest) endif -- cgit v1.2.1