Skip to content

Commit

Permalink
swift: 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 e4ee5d0 commit 3c29360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/s/swift.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def caveats
module_cache.mkdir

# Temporary hack while macOS 13 SDK prebuilding is disabled.
if MacOS.version == :ventura
if OS.mac? && MacOS.version == :ventura
ENV.remove_macosxsdk
ENV["SDKROOT"] = "/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk"
end
Expand Down

0 comments on commit 3c29360

Please sign in to comment.