From 743b685b6b77e8de83ffdbc4147a47bd37c2a4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A8=D7=98=D7=95/=D7=A8=D7=A2=D7=98=D7=90=D6=B8/=D7=A8?= =?UTF-8?q?=D6=B5=D7=99=D7=98=D7=95=D6=B9=20=E2=80=A2=20Reto?= Date: Wed, 27 Sep 2023 16:20:41 +0200 Subject: [PATCH] ffmpegdecklink: fix Apple's linker bug --- ffmpegdecklink.rb | 3 +++ 1 file changed, 3 insertions(+) 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