From 57a42e1dc3b4047e31a84bbe92993f863079281e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 13 Dec 2023 17:37:49 +0000 Subject: [PATCH] tcc: fix MacOS references. Needed after https://github.com/Homebrew/brew/pull/16306. --- Formula/t/tcc.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/t/tcc.rb b/Formula/t/tcc.rb index 9fce485d394d..90e816e8ffb3 100644 --- a/Formula/t/tcc.rb +++ b/Formula/t/tcc.rb @@ -45,7 +45,11 @@ def install ENV.deparallelize system "./configure", *args - system "make", "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" + + make_args = [] + make_args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" if OS.mac? + + system "make", *make_args system "make", "install" end