mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
The admin module is very closely tied to RPC. If we are building without RPC support there's not much use for the admin module, in fact it fails to build. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
30 lines
554 B
Meson
30 lines
554 B
Meson
example_admin_files = [
|
|
'client_close',
|
|
'client_info',
|
|
'client_limits',
|
|
'list_clients',
|
|
'list_servers',
|
|
'logging',
|
|
'threadpool_params',
|
|
]
|
|
|
|
if conf.has('WITH_REMOTE')
|
|
foreach name : example_admin_files
|
|
source_file = '@0@.c'.format(name)
|
|
executable(
|
|
name,
|
|
[
|
|
source_file,
|
|
],
|
|
include_directories: [
|
|
libvirt_inc,
|
|
],
|
|
link_with: [
|
|
libvirt_lib,
|
|
libvirt_admin_lib,
|
|
],
|
|
)
|
|
install_data(source_file, install_dir: example_dir / 'c' / 'admin')
|
|
endforeach
|
|
endif
|