[gnome-remote-desktop] build: List credentials dependencies separately



commit 9c46c0f2777f301d9886b6b4c0ef162868c4bffe
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Jun 21 16:13:12 2022 +0200

    build: List credentials dependencies separately
    
    Both the daemon and grdctl will want to depend on the same credentials
    dependencies, so avoid listing them twice.

 src/meson.build | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index f4bfa887..33c324fc 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,15 +1,20 @@
 src_includepath = include_directories('.')
 
+credentials_deps = [
+  libsecret_dep,
+]
+
 deps = [
   cairo_dep,
   glib_dep,
   gio_dep,
   gio_unix_dep,
   pipewire_dep,
-  libsecret_dep,
   libnotify_dep,
   epoxy_dep,
   drm_dep,
+
+  credentials_deps,
 ]
 
 credentials_sources = files([
@@ -179,7 +184,11 @@ executable('gnome-remote-desktop-control',
 
 executable('grdctl',
            ctl_sources,
-           dependencies: [glib_dep, gio_dep, libsecret_dep],
+           dependencies: [
+             glib_dep,
+             gio_dep,
+             credentials_deps,
+           ],
            include_directories: [configinc],
            install: true)
 


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