mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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
This commit is contained in:
parent
7f39f69c7c
commit
3423d0f553
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ check_ffmpeg_src = '''#include <libavcodec/avcodec.h>
|
||||||
#error libav provider should be FFmpeg
|
#error libav provider should be FFmpeg
|
||||||
#endif'''
|
#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')
|
error('Uncompatible libavcodec found')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue