bind: set SDKROOT on 10.11 and 10.12 (#22962)
Fixes `configure: error: xml2-config returns badness`
This commit is contained in:
parent
b14e2e4296
commit
d87ed47dde
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ class Bind < Formula
|
|||
depends_on "json-c" => :optional
|
||||
|
||||
def install
|
||||
# Fix "configure: error: xml2-config returns badness"
|
||||
if MacOS.version == :sierra || MacOS.version == :el_capitan
|
||||
ENV["SDKROOT"] = MacOS.sdk_path
|
||||
end
|
||||
|
||||
# enable DNSSEC signature chasing in dig
|
||||
ENV["STD_CDEFINES"] = "-DDIG_SIGCHASE=1"
|
||||
|
||||
|
|
Loading…
Reference in a new issue