yle-dl: set SDKROOT on 10.12
to fix lxml build failure "ld: file not found: /usr/lib/system/libsystem_darwin.dylib"
This commit is contained in:
parent
02bb036f41
commit
e15fcfc201
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ class YleDl < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# Fix "ld: file not found: /usr/lib/system/libsystem_darwin.dylib" for lxml
|
||||
ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra
|
||||
|
||||
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
|
||||
(resources - [resource("AdobeHDS.php")]).each do |r|
|
||||
r.stage do
|
||||
|
|
Loading…
Reference in a new issue