rpc: Require dtrace sources to be generated first

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>
This commit is contained in:
Michal Privoznik 2021-12-20 12:02:41 +01:00
parent fbe70d9525
commit 5cd76ef97f

View File

@ -9,6 +9,7 @@ socket_sources = [
virt_socket_lib = static_library( virt_socket_lib = static_library(
'virt_socket', 'virt_socket',
[ [
dtrace_gen_headers,
socket_sources, socket_sources,
], ],
dependencies: [ dependencies: [