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
This commit is contained in:
Scott D Phillips 2016-11-03 12:42:07 -07:00 committed by Thibault Saunier
parent 0b3ba49c6c
commit 95a0651b2c

View file

@ -22,7 +22,7 @@ if libavfilter_dep.found()
#else
#error libav provider should be FFmpeg
#endif'''
if cc.compiles(check_ffmpeg_src, name : 'whether libav is provided by FFmpeg')
if cc.compiles(check_ffmpeg_src, dependencies : libavfilter_dep, name : 'whether libav is provided by FFmpeg')
gst_libav = ['gst-libav']
endif
endif