[libvirt PATCH 06/20] meson: link libvirt with json_c if available

Ján Tomko posted 20 patches 3 months, 1 week ago
There is a newer version of this series
[libvirt PATCH 06/20] meson: link libvirt with json_c if available
Posted by Ján Tomko 3 months, 1 week ago
Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
 src/meson.build      | 1 +
 src/util/meson.build | 1 +
 tests/meson.build    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/meson.build b/src/meson.build
index 8cce42c7ad..b9652785dd 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -552,6 +552,7 @@ if conf.has('WITH_REMOTE')
       capng_dep,
       devmapper_dep,
       gnutls_dep,
+      json_c_dep,
       libssh2_dep,
       libssh_dep,
       sasl_dep,
diff --git a/src/util/meson.build b/src/util/meson.build
index 896c795150..ab6942fa81 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -193,6 +193,7 @@ virt_util_lib = static_library(
     capng_dep,
     devmapper_dep,
     gnutls_dep,
+    json_c_dep,
     intl_dep,
     libm_dep,
     libnl_dep,
diff --git a/tests/meson.build b/tests/meson.build
index 2f1eda1f95..d1fc122fc7 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -10,6 +10,7 @@ tests_dep = declare_dependency(
     dlopen_dep,
     glib_dep,
     gnutls_dep,
+    json_c_dep,
     libnl_dep,
     libxml_dep,
     rpc_dep,
-- 
2.45.2
Re: [libvirt PATCH 06/20] meson: link libvirt with json_c if available
Posted by Peter Krempa 3 months, 1 week ago
On Wed, Aug 14, 2024 at 23:40:21 +0200, Ján Tomko wrote:
> Signed-off-by: Ján Tomko <jtomko@redhat.com>
> ---
>  src/meson.build      | 1 +
>  src/util/meson.build | 1 +
>  tests/meson.build    | 1 +
>  3 files changed, 3 insertions(+)

This by itself looks weird. Merge it with the previous patch perhaps?