From e113909202ea059b0e1fd48cb8ad70e7e21cee22 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 14 Dec 2023 10:50:54 +0000 Subject: [PATCH] zeromq: fix MacOS references. Needed after https://github.com/Homebrew/brew/pull/16306. --- Formula/z/zeromq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/z/zeromq.rb b/Formula/z/zeromq.rb index 2dd393cf17bd..7235410c7086 100644 --- a/Formula/z/zeromq.rb +++ b/Formula/z/zeromq.rb @@ -37,7 +37,7 @@ class Zeromq < Formula def install # Work around "error: no member named 'signbit' in the global namespace" - if MacOS.version == :high_sierra + if OS.mac? && MacOS.version == :high_sierra ENV.delete("HOMEBREW_SDKROOT") ENV.delete("SDKROOT") end