1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00

meson: src: build virtlxcd 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:
Pavel Hrdina 2020-06-22 16:45:10 +02:00
parent e04503a496
commit 39630772dc
2 changed files with 8 additions and 12 deletions

View File

@ -48,22 +48,10 @@ BUILT_SOURCES += $(LXC_GENERATED)
if WITH_LXC
sbin_PROGRAMS += virtlxcd
nodist_conf_DATA += lxc/virtlxcd.conf
augeas_DATA += lxc/virtlxcd.aug
augeastest_DATA += lxc/test_virtlxcd.aug
virtlxcd_SOURCES = $(REMOTE_DAEMON_SOURCES)
nodist_virtlxcd_SOURCES = $(REMOTE_DAEMON_GENERATED)
virtlxcd_CFLAGS = \
$(REMOTE_DAEMON_CFLAGS) \
-DDAEMON_NAME="\"virtlxcd\"" \
-DMODULE_NAME="\"lxc\"" \
$(NULL)
virtlxcd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
virtlxcd_LDADD = $(REMOTE_DAEMON_LD_ADD)
SYSCONF_FILES += lxc/virtlxcd.sysconf
SYSTEMD_UNIT_FILES += \

View File

@ -74,4 +74,12 @@ if conf.has('WITH_LXC')
libvirt_no_undefined,
],
}
virt_daemons += {
'name': 'virtlxcd',
'c_args': [
'-DDAEMON_NAME="virtlxcd"',
'-DMODULE_NAME="lxc"',
],
}
endif