diff --git a/ffmpegdecklink.rb b/ffmpegdecklink.rb index f1b385d..23f357f 100644 --- a/ffmpegdecklink.rb +++ b/ffmpegdecklink.rb @@ -45,6 +45,9 @@ class Ffmpegdecklink < Formula end def install + # Apple's new linker leads to duplicate symbol + ENV.append "LDFLAGS", "-Wl,-ld_classic" if DevelopmentTools.clang_build_version >= 1500 + args = %W[ --prefix=#{prefix} --disable-shared