mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
meson: src: build lockd.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
3660e6ad35
commit
849b01e46f
@ -42,23 +42,10 @@ OPENRC_INIT_FILES_IN += \
|
||||
locking/virtlockd.init.in \
|
||||
$(NULL)
|
||||
|
||||
lockdriverdir = $(libdir)/libvirt/lock-driver
|
||||
lockdriver_LTLIBRARIES =
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
lockdriver_LTLIBRARIES += lockd.la
|
||||
lockd_la_SOURCES =
|
||||
lockd_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
lockd_la_LIBADD = \
|
||||
libvirt.la \
|
||||
libvirt_lockd_impl.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(XDR_LIBS) \
|
||||
$(NULL)
|
||||
augeas_DATA += locking/libvirt_lockd.aug
|
||||
if WITH_DTRACE_PROBES
|
||||
lockd_la_LIBADD += libvirt_probes.lo
|
||||
endif WITH_DTRACE_PROBES
|
||||
|
||||
if WITH_QEMU
|
||||
augeastest_DATA += locking/test_libvirt_lockd.aug
|
||||
|
@ -62,4 +62,21 @@ if conf.has('WITH_LIBVIRTD')
|
||||
xdr_dep,
|
||||
],
|
||||
)
|
||||
|
||||
lockdriver_dir = libdir / 'libvirt' / 'lock-driver'
|
||||
|
||||
virt_modules += {
|
||||
'name': 'lockd',
|
||||
'name_prefix': '',
|
||||
'sources': [
|
||||
dtrace_gen_objects,
|
||||
],
|
||||
'link_whole': [
|
||||
lockd_lib_impl,
|
||||
],
|
||||
'link_args': [
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
'install_dir': lockdriver_dir,
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user