From e0dbafff598d6d857d45e3f9573fd55804e78ab6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Sep 2015 00:08:44 +0100 Subject: [PATCH] Try to prevent ffmpeg shared build for Linux as it fails to link statically to libsoxr. --- cscript | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cscript b/cscript index 47956b6a1..3824603ec 100644 --- a/cscript +++ b/cscript @@ -238,7 +238,13 @@ def make_spec(filename, version, target): print >>f,'/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :' def dependencies(target): - return (('ffmpeg-cdist', '2e977e1'), + + if target.platform == 'linux': + ffmpeg_options = { 'shared': False } + else: + ffmpeg_options = {} + + return (('ffmpeg-cdist', '2e977e1', ffmpeg_options), ('libdcp', 'v1.2.3'), ('libsub', 'v1.1.4')) -- 2.30.2