Skip to content

Commit

Permalink
ffmpegdecklink: fix Apple's linker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
retokromer authored Sep 27, 2023
1 parent cad790c commit 743b685
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ffmpegdecklink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 743b685

Please sign in to comment.