mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
meson: src: build virtsecretd daemon binary
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
f77b7c270d
commit
cd45b70ea8
@ -5,22 +5,10 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
$(addprefix $(srcdir)/,$(SECRET_DRIVER_SOURCES))
|
||||
|
||||
if WITH_SECRETS
|
||||
sbin_PROGRAMS += virtsecretd
|
||||
|
||||
nodist_conf_DATA += secret/virtsecretd.conf
|
||||
augeas_DATA += secret/virtsecretd.aug
|
||||
augeastest_DATA += secret/test_virtsecretd.aug
|
||||
|
||||
virtsecretd_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtsecretd_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtsecretd_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtsecretd\"" \
|
||||
-DMODULE_NAME="\"secret\"" \
|
||||
$(NULL)
|
||||
virtsecretd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtsecretd_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += secret/virtsecretd.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -15,4 +15,12 @@ if conf.has('WITH_SECRETS')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtsecretd',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtsecretd"',
|
||||
'-DMODULE_NAME="secret"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user