mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00: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:
parent
e04503a496
commit
39630772dc
@ -48,22 +48,10 @@ BUILT_SOURCES += $(LXC_GENERATED)
|
|||||||
|
|
||||||
if WITH_LXC
|
if WITH_LXC
|
||||||
|
|
||||||
sbin_PROGRAMS += virtlxcd
|
|
||||||
|
|
||||||
nodist_conf_DATA += lxc/virtlxcd.conf
|
nodist_conf_DATA += lxc/virtlxcd.conf
|
||||||
augeas_DATA += lxc/virtlxcd.aug
|
augeas_DATA += lxc/virtlxcd.aug
|
||||||
augeastest_DATA += lxc/test_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
|
SYSCONF_FILES += lxc/virtlxcd.sysconf
|
||||||
|
|
||||||
SYSTEMD_UNIT_FILES += \
|
SYSTEMD_UNIT_FILES += \
|
||||||
|
@ -74,4 +74,12 @@ if conf.has('WITH_LXC')
|
|||||||
libvirt_no_undefined,
|
libvirt_no_undefined,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virt_daemons += {
|
||||||
|
'name': 'virtlxcd',
|
||||||
|
'c_args': [
|
||||||
|
'-DDAEMON_NAME="virtlxcd"',
|
||||||
|
'-DMODULE_NAME="lxc"',
|
||||||
|
],
|
||||||
|
}
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user