Skip to content

Commit

Permalink
workaround linker issue (homebrew-ffmpeg#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
retokromer authored Sep 27, 2023
1 parent e9dc133 commit 7ae3716
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ class Ffmpeg < Formula
end

def install
# The new linker leads to duplicate symbol issue https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/140
ENV.append "LDFLAGS", "-Wl,-ld_classic" if DevelopmentTools.clang_build_version >= 1500

args = %W[
--prefix=#{prefix}
--enable-shared
Expand Down

0 comments on commit 7ae3716

Please sign in to comment.