mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
meson: src: build libvirt_driver_secret.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
ea42db4c23
commit
b30483f1d9
@ -169,6 +169,7 @@ subdir('logging')
|
|||||||
subdir('network')
|
subdir('network')
|
||||||
subdir('node_device')
|
subdir('node_device')
|
||||||
subdir('nwfilter')
|
subdir('nwfilter')
|
||||||
|
subdir('secret')
|
||||||
subdir('security')
|
subdir('security')
|
||||||
subdir('storage')
|
subdir('storage')
|
||||||
|
|
||||||
|
@ -1,31 +1,10 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
SECRET_DRIVER_SOURCES = \
|
|
||||||
secret/secret_driver.h \
|
|
||||||
secret/secret_driver.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
|
|
||||||
DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(SECRET_DRIVER_SOURCES))
|
DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(SECRET_DRIVER_SOURCES))
|
||||||
STATEFUL_DRIVER_SOURCE_FILES += \
|
STATEFUL_DRIVER_SOURCE_FILES += \
|
||||||
$(addprefix $(srcdir)/,$(SECRET_DRIVER_SOURCES))
|
$(addprefix $(srcdir)/,$(SECRET_DRIVER_SOURCES))
|
||||||
|
|
||||||
|
|
||||||
if WITH_SECRETS
|
if WITH_SECRETS
|
||||||
mod_LTLIBRARIES += libvirt_driver_secret.la
|
|
||||||
libvirt_driver_secret_la_CFLAGS = \
|
|
||||||
-I$(srcdir)/access \
|
|
||||||
-I$(builddir)/access \
|
|
||||||
-I$(srcdir)/conf \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
libvirt_driver_secret_la_LIBADD = \
|
|
||||||
libvirt.la \
|
|
||||||
$(GLIB_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
libvirt_driver_secret_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
|
||||||
libvirt_driver_secret_la_SOURCES = $(SECRET_DRIVER_SOURCES)
|
|
||||||
|
|
||||||
sbin_PROGRAMS += virtsecretd
|
sbin_PROGRAMS += virtsecretd
|
||||||
|
|
||||||
nodist_conf_DATA += secret/virtsecretd.conf
|
nodist_conf_DATA += secret/virtsecretd.conf
|
||||||
|
18
src/secret/meson.build
Normal file
18
src/secret/meson.build
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
secret_driver_sources = [
|
||||||
|
'secret_driver.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
if conf.has('WITH_SECRETS')
|
||||||
|
virt_modules += {
|
||||||
|
'name': 'virt_driver_secret',
|
||||||
|
'sources': [
|
||||||
|
files(secret_driver_sources),
|
||||||
|
],
|
||||||
|
'deps': [
|
||||||
|
access_dep,
|
||||||
|
],
|
||||||
|
'link_args': [
|
||||||
|
libvirt_no_undefined,
|
||||||
|
],
|
||||||
|
}
|
||||||
|
endif
|
Loading…
x
Reference in New Issue
Block a user