meson: src: build libvirt_driver_nodedev.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>
This commit is contained in:
Pavel Hrdina 2020-06-24 12:44:09 +02:00
parent 141e017519
commit b6b45f0b99
2 changed files with 10 additions and 5 deletions

View File

@ -12,11 +12,6 @@ STATEFUL_DRIVER_SOURCE_FILES += \
if WITH_NODE_DEVICES
libvirt_driver_nodedev_la_SOURCES =
libvirt_driver_nodedev_la_LIBADD = libvirt_driver_nodedev_impl.la
libvirt_driver_nodedev_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
mod_LTLIBRARIES += libvirt_driver_nodedev.la
sbin_PROGRAMS += virtnodedevd
nodist_conf_DATA += node_device/virtnodedevd.conf

View File

@ -28,4 +28,14 @@ if conf.has('WITH_NODE_DEVICES')
conf_inc_dir,
],
)
virt_modules += {
'name': 'virt_driver_nodedev',
'link_whole': [
node_device_driver_impl,
],
'link_args': [
libvirt_no_undefined,
],
}
endif