summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-29 22:18:17 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-29 23:36:28 +0200
commit27d6361eff886c7c12f2be17fdb449ff858fbbb8 (patch)
treead6272db01fce5d83ab426dd66e0ddd987f0a91d /cscript
parent0c7776b13b349980a8da1be9188095455012096a (diff)
Link dynamically to FFmpeg on Arch.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/cscript b/cscript
index 57277f727..2a369133f 100644
--- a/cscript
+++ b/cscript
@@ -575,7 +575,9 @@ def configure_options(target, options, for_package=False):
if target.platform == 'windows':
opt += f' --target-windows-{target.bits}'
elif target.platform == 'linux':
- opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
+ opt += ' --static-dcpomatic --static-wxwidgets --static-dcp --static-sub --static-cxml'
+ if target.distro != 'arch':
+ opt += ' --static-ffmpeg'
if target.distro == 'centos':
if target.version == '6.5':
opt += ' --static-boost --static-xmlpp'