Link dynamically to FFmpeg on Arch.
authorCarl Hetherington <cth@carlh.net>
Sun, 29 Sep 2024 20:18:17 +0000 (22:18 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 29 Sep 2024 21:36:28 +0000 (23:36 +0200)
cscript

diff --git a/cscript b/cscript
index 57277f727793d88b0869bf35e4711613987a62d5..2a369133fe4bac5d1ddcebd612e566b72a45fb5a 100644 (file)
--- 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'