summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-04 00:08:44 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-04 00:08:44 +0100
commite0dbafff598d6d857d45e3f9573fd55804e78ab6 (patch)
treec0ada00978fd424efb192e2c4fed4f1fc74672aa /cscript
parent4bf4601ba4f1e23e04be767c85b010986b8cca26 (diff)
Try to prevent ffmpeg shared build for Linux as it fails to link statically to libsoxr.
Diffstat (limited to 'cscript')
-rw-r--r--cscript8
1 files changed, 7 insertions, 1 deletions
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'))