]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpc: Require dtrace sources to be generated first
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 20 Dec 2021 11:02:41 +0000 (12:02 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Jan 2022 12:54:35 +0000 (13:54 +0100)
The virt_socket_lib is built from virnetsocket.c (among others).
But this file includes virprobe.h which includes libvirt_probes.h
which is a generated file. But this dependency is not recorded in
meson which may lead to a failed build.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/meson.build

index 7fde92e6cf8eaff692a5d37137ba5d54d3b7c233..36a2809adf970e1d2e921b982a14cf7323c20a7b 100644 (file)
@@ -9,6 +9,7 @@ socket_sources = [
 virt_socket_lib = static_library(
   'virt_socket',
   [
+    dtrace_gen_headers,
     socket_sources,
   ],
   dependencies: [