mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
meson: src: build virtnetworkd 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
39630772dc
commit
4f0527653f
@ -10,22 +10,10 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
|
||||
|
||||
if WITH_NETWORK
|
||||
sbin_PROGRAMS += virtnetworkd
|
||||
|
||||
nodist_conf_DATA += network/virtnetworkd.conf
|
||||
augeas_DATA += network/virtnetworkd.aug
|
||||
augeastest_DATA += network/test_virtnetworkd.aug
|
||||
|
||||
virtnetworkd_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtnetworkd_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtnetworkd_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtnetworkd\"" \
|
||||
-DMODULE_NAME="\"network\"" \
|
||||
$(NULL)
|
||||
virtnetworkd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtnetworkd_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += network/virtnetworkd.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -33,4 +33,12 @@ if conf.has('WITH_NETWORK')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtnetworkd',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtnetworkd"',
|
||||
'-DMODULE_NAME="network"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user