mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

We're not actually using this anywhere and it makes the code more complicated. Relatedly, this PR fixes the issue where `uses_from_macos "python@2" => :build` was valid on macOS but not on Linux.
11 lines
188 B
Ruby
11 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SoftwareSpec
|
|
undef uses_from_macos
|
|
|
|
def uses_from_macos(deps)
|
|
@uses_from_macos_elements ||= []
|
|
@uses_from_macos_elements << deps
|
|
end
|
|
end
|