From 487c4857a392247c50c037de2557ca47f308727d Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Fri, 24 Jul 2020 10:52:19 +0000 Subject: [PATCH] formula.rb: add a no-op allowed_missing_libraries method --- Library/Homebrew/formula.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6114a8896c..e65b08adc3 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2760,6 +2760,11 @@ class Formula def ignore_missing_libraries(*) raise FormulaSpecificationError, "#{__method__} is available on Linux only" end + + # @private + def allowed_missing_libraries + raise NotImplementedError, "#{__method__} is available on Linux only" + end end end