mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
141e017519
commit
b6b45f0b99
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue