src/lib/ffmpeg/meson.build: copy dependencies into ffmpeg_dep

Apparently, Meson propagates the linker flags but not the compiler
flags from a `static_library`'s dependencies list.

Closes #392
This commit is contained in:
Max Kellermann 2018-11-01 19:14:00 +01:00
parent b8989fafeb
commit 2a926063b2

View File

@ -26,4 +26,9 @@ ffmpeg = static_library(
ffmpeg_dep = declare_dependency( ffmpeg_dep = declare_dependency(
link_with: ffmpeg, link_with: ffmpeg,
dependencies: [
libavformat_dep,
libavcodec_dep,
libavutil_dep,
],
) )