summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-01 19:14:00 +0100
committerMax Kellermann <max@musicpd.org>2018-11-01 19:14:00 +0100
commit2a926063b25cc051edff5441ff0370fd64b7995d (patch)
treeae87007bdc5e341f7975744742994bd67bf81866 /src/lib
parentb8989fafebbb40454c9fb94bd3775517ec2b0788 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffmpeg/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ffmpeg/meson.build b/src/lib/ffmpeg/meson.build
index 2f5cff822..f39c22097 100644
--- a/src/lib/ffmpeg/meson.build
+++ b/src/lib/ffmpeg/meson.build
@@ -26,4 +26,9 @@ ffmpeg = static_library(
ffmpeg_dep = declare_dependency(
link_with: ffmpeg,
+ dependencies: [
+ libavformat_dep,
+ libavcodec_dep,
+ libavutil_dep,
+ ],
)