Allow ignore_missing_libraries when simulating Linux on macOS
This commit is contained in:
parent
0e98bdde13
commit
ed97281d20
@ -3215,6 +3215,8 @@ class Formula
|
|||||||
|
|
||||||
# Permit links to certain libraries that don't exist. Available on Linux only.
|
# Permit links to certain libraries that don't exist. Available on Linux only.
|
||||||
def ignore_missing_libraries(*)
|
def ignore_missing_libraries(*)
|
||||||
|
return if Homebrew::SimulateSystem.linux?
|
||||||
|
|
||||||
raise FormulaSpecificationError, "#{__method__} is available on Linux only"
|
raise FormulaSpecificationError, "#{__method__} is available on Linux only"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user