mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
meson: src: build virtinterfaced 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
c6f7aa995e
commit
1d4e6af169
@ -5,22 +5,11 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
$(addprefix $(srcdir)/,$(INTERFACE_DRIVER_SOURCES))
|
||||
|
||||
if WITH_INTERFACE
|
||||
sbin_PROGRAMS += virtinterfaced
|
||||
|
||||
nodist_conf_DATA += interface/virtinterfaced.conf
|
||||
augeas_DATA += interface/virtinterfaced.aug
|
||||
augeastest_DATA += interface/test_virtinterfaced.aug
|
||||
|
||||
virtinterfaced_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtinterfaced_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtinterfaced_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtinterfaced\"" \
|
||||
-DMODULE_NAME="\"interface\"" \
|
||||
$(NULL)
|
||||
virtinterfaced_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtinterfaced_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += interface/virtinterfaced.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -26,4 +26,12 @@ if conf.has('WITH_INTERFACE')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtinterfaced',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtinterfaced"',
|
||||
'-DMODULE_NAME="interface"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user