summaryrefslogtreecommitdiff
path: root/service/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'service/meson.build')
-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,