mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
meson: src: build virtvzd 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
19c67d0593
commit
425e27ad55
@ -44,7 +44,6 @@ OPENRC_INIT_FILES =
|
||||
OPENRC_INIT_FILES_IN =
|
||||
OPENRC_CONF_FILES =
|
||||
SYSCONF_FILES =
|
||||
sbin_PROGRAMS =
|
||||
bin_PROGRAMS =
|
||||
|
||||
COMMON_UNIT_VARS = \
|
||||
|
@ -5,22 +5,10 @@ STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(VZ_DRIVER_SOURCES))
|
||||
|
||||
|
||||
if WITH_VZ
|
||||
sbin_PROGRAMS += virtvzd
|
||||
|
||||
nodist_conf_DATA += vz/virtvzd.conf
|
||||
augeas_DATA += vz/virtvzd.aug
|
||||
augeastest_DATA += vz/test_virtvzd.aug
|
||||
|
||||
virtvzd_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtvzd_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtvzd_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtvzd\"" \
|
||||
-DMODULE_NAME="\"vz\"" \
|
||||
$(NULL)
|
||||
virtvzd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtvzd_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += vz/virtvzd.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -30,4 +30,12 @@ if conf.has('WITH_VZ')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtvzd',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtvzd"',
|
||||
'-DMODULE_NAME="vz"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user