ffmpeg@2.8: backport clock_gettime fix
This commit is contained in:
parent
3619c745a0
commit
1bd3a98d79
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ class FfmpegAT28 < Formula
|
|||
depends_on "dcadec" => :optional
|
||||
|
||||
def install
|
||||
# Fixes "dyld: lazy symbol binding failed: Symbol not found: _clock_gettime"
|
||||
if MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0"
|
||||
inreplace %w[libavdevice/v4l2.c libavutil/time.c], "HAVE_CLOCK_GETTIME",
|
||||
"UNDEFINED_GIBBERISH"
|
||||
end
|
||||
|
||||
args = ["--prefix=#{prefix}",
|
||||
"--enable-shared",
|
||||
"--enable-pthreads",
|
||||
|
|
Loading…
Reference in a new issue