Merge pull request #13598 from Rylan12/ignore-missing-libraries-simulate-linux
Allow `ignore_missing_libraries` when simulating Linux on macOS
This commit is contained in:
commit
5080312bdd
@ -3215,6 +3215,8 @@ class Formula
|
||||
|
||||
# Permit links to certain libraries that don't exist. Available on Linux only.
|
||||
def ignore_missing_libraries(*)
|
||||
return if Homebrew::SimulateSystem.linux?
|
||||
|
||||
raise FormulaSpecificationError, "#{__method__} is available on Linux only"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user