mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
meson: src: build libvirt_driver_qemu.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
cc38e525b4
commit
ea42db4c23
@ -4,19 +4,6 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(QEMU_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(QEMU_DRIVER_SOURCES))
|
||||
|
||||
if WITH_QEMU
|
||||
libvirt_driver_qemu_la_SOURCES =
|
||||
libvirt_driver_qemu_la_LIBADD = \
|
||||
libvirt_driver_qemu_impl.la \
|
||||
libvirt.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
mod_LTLIBRARIES += libvirt_driver_qemu.la
|
||||
libvirt_driver_qemu_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
|
||||
if WITH_DTRACE_PROBES
|
||||
libvirt_driver_qemu_la_LIBADD += libvirt_qemu_probes.lo
|
||||
endif WITH_DTRACE_PROBES
|
||||
|
||||
sbin_PROGRAMS += virtqemud
|
||||
|
||||
nodist_conf_DATA += qemu/virtqemud.conf
|
||||
|
@ -96,4 +96,17 @@ if conf.has('WITH_QEMU')
|
||||
hypervisor_inc_dir,
|
||||
],
|
||||
)
|
||||
|
||||
virt_modules += {
|
||||
'name': 'virt_driver_qemu',
|
||||
'sources': [
|
||||
qemu_dtrace_gen_objects,
|
||||
],
|
||||
'link_whole': [
|
||||
qemu_driver_impl,
|
||||
],
|
||||
'link_args': [
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user