vorbis-tools: ENV.delete SDKROOT on Yosemite
fix bogus linkage to a non-existent /usr/lib/libnetwork.dylib Closes #11030. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
0770254b61
commit
186661492b
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ class VorbisTools < Formula
|
|||
depends_on "flac" => :optional
|
||||
|
||||
def install
|
||||
# Fix `brew linkage --test` "Missing libraries: /usr/lib/libnetwork.dylib"
|
||||
# Prevent bogus linkage to the libnetwork.tbd in Xcode 7's SDK
|
||||
ENV.delete("SDKROOT") if MacOS.version == :yosemite
|
||||
|
||||
args = %W[
|
||||
--disable-debug
|
||||
--disable-dependency-tracking
|
||||
|
|
Loading…
Reference in a new issue