meson: src: build libvirt_driver_vbox.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-22 15:40:39 +02:00
parent b30483f1d9
commit 9128ca38d3
2 changed files with 10 additions and 10 deletions

View File

@ -6,16 +6,6 @@ DRIVER_SOURCE_FILES += \
$(NULL)
if WITH_VBOX
noinst_LTLIBRARIES += libvirt_driver_vbox_impl.la
libvirt_driver_vbox_la_SOURCES =
libvirt_driver_vbox_la_LIBADD = \
libvirt_driver_vbox_impl.la \
libvirt.la \
$(GLIB_LIBS) \
$(NULL)
mod_LTLIBRARIES += libvirt_driver_vbox.la
libvirt_driver_vbox_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
sbin_PROGRAMS += virtvboxd
nodist_conf_DATA += vbox/virtvboxd.conf

View File

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