gnutls: fix the build on 10.11 with Xcode 8 (#6041)
gnutls uses some customized Autotools tests, so the general superenv workaround in https://github.com/Homebrew/brew/pull/970 is insufficient
This commit is contained in:
parent
4b1c40b373
commit
af2c4dd563
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ class Gnutls < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
# Fix "dyld: lazy symbol binding failed: Symbol not found: _getentropy"
|
||||||
|
# Reported 18 Oct 2016 https://gitlab.com/gnutls/gnutls/issues/142
|
||||||
|
if MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
|
||||||
|
inreplace "configure", "getentropy(0, 0);", "undefinedgibberish(0, 0);"
|
||||||
|
end
|
||||||
|
|
||||||
args = %W[
|
args = %W[
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
|
|
Loading…
Reference in a new issue