summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-07 23:32:23 +0100
committerMax Kellermann <max@musicpd.org>2018-11-07 23:32:23 +0100
commitdb51cc4e0293ade536412fd637863a9c39886af5 (patch)
treea30bffb1e992a6841f325dfdace94b0b0252b7be /src/lib
parentbe8a52a914da1621141913aec1fbd832e315ec1c (diff)
lib/zlib/meson.build: add zlib_dep to `declare_dependency`
Fixes potential compiler error when zlib is installed in a non-standard directory.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/zlib/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/zlib/meson.build b/src/lib/zlib/meson.build
index d690b563d..86b35f971 100644
--- a/src/lib/zlib/meson.build
+++ b/src/lib/zlib/meson.build
@@ -15,4 +15,7 @@ zlib = static_library(
zlib_dep = declare_dependency(
link_with: zlib,
+ dependencies: [
+ zlib_dep,
+ ],
)