summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-10 22:50:31 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-04-11 09:15:18 +0200
commiteb2081b567916d8a8e99f6c848c54d9ee9d4cd26 (patch)
tree7d94fb762b9b6416dea0a7b0fed3f3e86a7e9126 /engine
parent279403ecc1825871a10d6de28c25508bc1852ffb (diff)
downloaddconf-eb2081b567916d8a8e99f6c848c54d9ee9d4cd26.tar.gz
build: Fix internal dependencies
meson is able to generate internal dependencies for handling built libraries. These internal dependencies depend on other dependencies as well, based on the includes exposed by their headers. This have been fixed by using proper internal dependencies for these libraries. https://bugzilla.gnome.org/show_bug.cgi?id=790236
Diffstat (limited to 'engine')
-rw-r--r--engine/meson.build12
1 files changed, 11 insertions, 1 deletions
diff --git a/engine/meson.build b/engine/meson.build
index d68bd5e..c4ed442 100644
--- a/engine/meson.build
+++ b/engine/meson.build
@@ -8,13 +8,23 @@ sources = files(
'dconf-engine-source-system.c'
)
+deps = [
+ libdconf_common_dep,
+ libgvdb_dep
+]
+
cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
libdconf_engine = static_library(
meson.project_name() + '-engine',
sources: sources,
include_directories: top_inc,
- dependencies: glib_dep,
+ dependencies: deps + [libdconf_shm_dep],
c_args: cflags,
pic: true
)
+
+libdconf_engine_dep = declare_dependency(
+ dependencies: deps,
+ link_with: libdconf_engine
+)