diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 8e9d8a4..0f7ded6 100644 --- a/meson.build +++ b/meson.build @@ -73,6 +73,11 @@ src += protocol_src cc = meson.get_compiler('c') m_dep = cc.find_library('m', required : true) +# Overrides the libav* dependencies below with a statically linked ffmpeg built from source. +if get_option('ffmpeg_static') == true + subproject('ffmpeg') +endif + dep = [ dependency('threads'), m_dep, |
