summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott D Phillips <scott.d.phillips@intel.com>2016-11-03 12:43:46 -0700
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2017-03-10 20:31:15 +0100
commit2ae6d1f371cb08b7a633f093263af6d01307629a (patch)
tree9f6992c9f4a2fa663fc91316d4f83cbe49723b7b
parent5b57f2c0500792599b0e2f245a2198c0955f6362 (diff)
downloadgst-libav-2ae6d1f371cb08b7a633f093263af6d01307629a.tar.gz
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
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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 <libavcodec/avcodec.h>
#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