summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorDaniel Playfair Cal <daniel.playfair.cal@gmail.com>2018-08-27 11:20:11 +1000
committerDaniel Playfair Cal <daniel.playfair.cal@gmail.com>2018-08-27 11:20:11 +1000
commit92fe9f1a80f7dd6730c66b5fce3ee826f58be6cf (patch)
tree080adc464ab417ad277ae6a278ef9bb6e0fedb8e /service
parentb799b08ec4e5978ab8db233a9da1532bf7918324 (diff)
downloaddconf-92fe9f1a80f7dd6730c66b5fce3ee826f58be6cf.tar.gz
Revert "Revert "Declare libdconf_service as a dependency""
This reverts commit b799b08ec4e5978ab8db233a9da1532bf7918324.
Diffstat (limited to 'service')
-rw-r--r--service/meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/service/meson.build b/service/meson.build
index 35ee23a..7d54805 100644
--- a/service/meson.build
+++ b/service/meson.build
@@ -23,13 +23,15 @@ sources = [
'main.c',
]
-lib_sources += gnome.gdbus_codegen(
+dconf_generated = gnome.gdbus_codegen(
'dconf-generated',
dconf_namespace + '.xml',
interface_prefix: dconf_namespace + '.',
namespace: 'DConfDBus',
)
+lib_sources += dconf_generated
+
libdconf_service = static_library(
'dconf-service',
sources: lib_sources,
@@ -43,6 +45,12 @@ libdconf_service = static_library(
],
)
+libdconf_service_dep = declare_dependency(
+ link_with: libdconf_service,
+ dependencies: gio_unix_dep,
+ sources: dconf_generated,
+)
+
executable(
'dconf-service',
sources,