summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/meson.build13
-rw-r--r--common/meson.build2
2 files changed, 8 insertions, 7 deletions
diff --git a/client/meson.build b/client/meson.build
index de6387e..e9672b8 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -12,11 +12,6 @@ install_headers(
sources = files('dconf-client.c')
-deps = [
- libdconf_common_hidden_dep,
- libdconf_gdbus_thread_dep,
-]
-
libdconf_client = static_library(
'dconf-client',
sources: sources,
@@ -31,13 +26,19 @@ libdconf_client_dep = declare_dependency(
link_with: libdconf_client,
)
+client_deps = [
+ libdconf_common_dep,
+ libdconf_engine_dep,
+ libdconf_gdbus_thread_dep,
+]
+
libdconf = shared_library(
'dconf',
sources: sources,
version: libversion,
soversion: soversion,
include_directories: top_inc,
- dependencies: deps,
+ dependencies: client_deps,
c_args: dconf_c_args,
install: true,
)
diff --git a/common/meson.build b/common/meson.build
index 58e0fa8..61af2f9 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -28,7 +28,7 @@ libdconf_common = static_library(
libdconf_common_dep = declare_dependency(
dependencies: glib_dep,
- link_whole: libdconf_common,
+ link_with: libdconf_common,
)
libdconf_common_hidden = static_library(