summaryrefslogtreecommitdiff
path: root/shm
diff options
context:
space:
mode:
Diffstat (limited to 'shm')
-rw-r--r--shm/meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/shm/meson.build b/shm/meson.build
index d904cd0..4f95b98 100644
--- a/shm/meson.build
+++ b/shm/meson.build
@@ -1,12 +1,17 @@
-sources = files('dconf-shm.c')
+name = meson.project_name() + '-shm'
cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
libdconf_shm = static_library(
- meson.project_name() + '-shm',
- sources: sources,
+ name,
+ sources: name + '.c',
include_directories: top_inc,
dependencies: glib_dep,
c_args: cflags,
pic: true
)
+
+libdconf_shm_dep = declare_dependency(
+ dependencies: glib_dep,
+ link_with: libdconf_shm
+)