libvirt/src/network/meson.build

45 lines
750 B
Meson
Raw Normal View History

network_driver_sources = [
'bridge_driver.c',
'bridge_driver_platform.c',
]
if conf.has('WITH_NETWORK')
network_driver_impl = static_library(
'virt_driver_network_impl',
[
network_driver_sources,
],
dependencies: [
access_dep,
dbus_dep,
libnl_dep,
src_dep,
],
include_directories: [
conf_inc_dir,
],
)
virt_modules += {
'name': 'virt_driver_network',
'deps': [
dbus_dep,
libnl_dep,
],
'link_whole': [
network_driver_impl,
],
'link_args': [
libvirt_no_undefined,
],
}
virt_daemons += {
'name': 'virtnetworkd',
'c_args': [
'-DDAEMON_NAME="virtnetworkd"',
'-DMODULE_NAME="network"',
],
}
endif