mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
meson: src: build virtstoraged 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
cd45b70ea8
commit
1f6bbee89b
@ -9,22 +9,10 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
$(addprefix $(srcdir)/,$(STORAGE_DRIVER_SOURCES))
|
||||
|
||||
if WITH_STORAGE
|
||||
sbin_PROGRAMS += virtstoraged
|
||||
|
||||
nodist_conf_DATA += storage/virtstoraged.conf
|
||||
augeas_DATA += storage/virtstoraged.aug
|
||||
augeastest_DATA += storage/test_virtstoraged.aug
|
||||
|
||||
virtstoraged_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtstoraged_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtstoraged_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtstoraged\"" \
|
||||
-DMODULE_NAME="\"storage\"" \
|
||||
$(NULL)
|
||||
virtstoraged_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtstoraged_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += storage/virtstoraged.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -109,6 +109,14 @@ if conf.has('WITH_STORAGE')
|
||||
],
|
||||
'install_dir': storage_file_install_dir,
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtstoraged',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtstoraged"',
|
||||
'-DMODULE_NAME="storage"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
||||
if conf.has('WITH_STORAGE_DISK')
|
||||
|
Loading…
Reference in New Issue
Block a user