[libglnx/wip/smcv/subproject: 1/5] meson: Automatically link libglnx-dependent objects to gio-unix




commit b76cf458cea23d8359237248bf97fde693ce9fe2
Author: Simon McVittie <smcv collabora com>
Date:   Thu Apr 21 19:43:04 2022 +0100

    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>

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
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)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]