libvirt/src/vz/meson.build
Pavel Hrdina 3660e6ad35 meson: src: build libvirt_driver_vz.so shared module
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-08-03 09:27:04 +02:00

34 lines
519 B
Meson

vz_driver_sources = [
'vz_driver.c',
'vz_utils.c',
'vz_sdk.c',
]
if conf.has('WITH_VZ')
vz_driver_impl = static_library(
'virt_driver_vz_impl',
[
vz_driver_sources,
],
dependencies: [
access_dep,
libnl_dep,
parallels_sdk_dep,
src_dep,
],
include_directories: [
conf_inc_dir,
],
)
virt_modules += {
'name': 'virt_driver_vz',
'link_whole': [
vz_driver_impl,
],
'link_args': [
libvirt_no_undefined,
],
}
endif