Skip to content

Commit

Permalink
tcc: fix MacOS references.
Browse files Browse the repository at this point in the history
Needed after Homebrew/brew#16306.
  • Loading branch information
MikeMcQuaid authored and Bo98 committed Dec 13, 2023
1 parent 3c29360 commit 57a42e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/t/tcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 57a42e1

Please sign in to comment.