formula: deprecate ignore_missing_libraries

We removed all uses of this method in Homebrew/core. See
Homebrew/homebrew-core#111297.
This commit is contained in:
Carlo Cabrera 2023-01-26 13:29:51 +08:00
parent 8f419180cf
commit 131f5eba0f
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -3438,6 +3438,7 @@ class Formula
# Permit links to certain libraries that don't exist. Available on Linux only.
def ignore_missing_libraries(*libs)
odeprecated "ignore_missing_libraries"
unless Homebrew::SimulateSystem.simulating_or_running_on_linux?
raise FormulaSpecificationError, "#{__method__} is available on Linux only"
end