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:
parent
b8989fafeb
commit
2a926063b2
|
@ -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,
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue