From 3423d0f55353587e8b86ffae93b48e1538cd8206 Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Thu, 3 Nov 2016 12:43:46 -0700 Subject: [PATCH] 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 ffc2e55..f60ccc4 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 -- 2.7.4