From 2ae6d1f371cb08b7a633f093263af6d01307629a Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Thu, 3 Nov 2016 12:43:46 -0700 Subject: meson: Include libav dependency in FFmpeg check The FFmpeg-origin check can't work if it isn't provided the dependency library. https://bugzilla.gnome.org/show_bug.cgi?id=773911 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b9cc4f1..ba632ae 100644 --- a/meson.build +++ b/meson.build @@ -25,7 +25,7 @@ check_ffmpeg_src = '''#include #error libav provider should be FFmpeg #endif''' -if not cc.compiles(check_ffmpeg_src, name : 'libav is provided by FFmpeg') +if not cc.compiles(check_ffmpeg_src, dependencies : libav_deps, name : 'libav is provided by FFmpeg') error('Uncompatible libavcodec found') endif -- cgit v1.2.1