Commit 2fa8c7d2 authored by Max Kellermann's avatar Max Kellermann

lib/crypto/meson.build: link with `ffmpeg_util_dep`

This adds `MakeFfmpegError()` to the executable and fixes a linker failure when `libavutil` is available, but `libavformat` and `libavcodec` are not. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1786
parent 7c759ba8
...@@ -18,13 +18,13 @@ endif ...@@ -18,13 +18,13 @@ endif
conf.set('HAVE_MD5', crypto_md5_dep.found()) conf.set('HAVE_MD5', crypto_md5_dep.found())
if libavutil_dep.found() if ffmpeg_util_dep.found()
crypto_base64 = static_library( crypto_base64 = static_library(
'crypto_base64', 'crypto_base64',
'Base64.cxx', 'Base64.cxx',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
libavutil_dep, ffmpeg_util_dep,
], ],
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment