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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux