mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-28 21:47:18 +03:00
meson: src: build libvirt_driver_lxc.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
6aae828910
commit
b6188d470f
@ -48,16 +48,6 @@ BUILT_SOURCES += $(LXC_GENERATED)
|
||||
|
||||
if WITH_LXC
|
||||
|
||||
libvirt_driver_lxc_la_SOURCES =
|
||||
libvirt_driver_lxc_la_LIBADD = \
|
||||
libvirt_driver_lxc_impl.la \
|
||||
libvirt.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
mod_LTLIBRARIES += libvirt_driver_lxc.la
|
||||
libvirt_driver_lxc_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
|
||||
|
||||
sbin_PROGRAMS += virtlxcd
|
||||
|
||||
nodist_conf_DATA += lxc/virtlxcd.conf
|
||||
|
@ -64,4 +64,14 @@ if conf.has('WITH_LXC')
|
||||
hypervisor_inc_dir,
|
||||
],
|
||||
)
|
||||
|
||||
virt_modules += {
|
||||
'name': 'virt_driver_lxc',
|
||||
'link_whole': [
|
||||
lxc_driver_impl_lib,
|
||||
],
|
||||
'link_args': [
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user