summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-04-21 19:43:04 +0100
committerSimon McVittie <smcv@collabora.com>2022-04-21 19:43:25 +0100
commitb76cf458cea23d8359237248bf97fde693ce9fe2 (patch)
tree8183ec9ed0fc5de64a221f992a01344928d40ac8
parentc71f7aefa142c444210f1021d1af42f365ec3a7b (diff)
downloadlibglnx-b76cf458cea23d8359237248bf97fde693ce9fe2.tar.gz
meson: Automatically link libglnx-dependent objects to gio-unix
If we don't do this, users of libglnx all have to add this dependency themselves, otherwise they'll get errors like: fatal error: gio/gfiledescriptorbased.h: No such file or directory Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 6714dc2..1fc438e 100644
--- a/meson.build
+++ b/meson.build
@@ -86,6 +86,7 @@ libglnx = static_library('glnx',
include_directories : libglnx_inc,
install : false)
libglnx_dep = declare_dependency(
+ dependencies : libglnx_deps,
include_directories : libglnx_inc,
link_with : libglnx)