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

meson: src: build virtproxyd 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:53:51 +02:00
parent fafc8eb4b3
commit f77b7c270d
2 changed files with 10 additions and 14 deletions

View File

@ -62,8 +62,6 @@ OPENRC_CONF_FILES += \
if WITH_LIBVIRTD
sbin_PROGRAMS += virtproxyd
augeas_DATA += \
remote/libvirtd.aug \
remote/virtproxyd.aug \
@ -79,18 +77,6 @@ nodist_conf_DATA += \
remote/virtproxyd.conf \
$(NULL)
virtproxyd_SOURCES = $(REMOTE_DAEMON_SOURCES)
nodist_virtproxyd_SOURCES = $(REMOTE_DAEMON_GENERATED)
virtproxyd_CFLAGS = \
$(REMOTE_DAEMON_CFLAGS) \
-DSOCK_PREFIX="\"libvirt\"" \
-DDAEMON_NAME="\"virtproxyd\"" \
-DWITH_IP \
-DVIRTPROXYD \
$(NULL)
virtproxyd_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
virtproxyd_LDADD = $(REMOTE_DAEMON_LD_ADD)
remote/libvirtd.conf: remote/libvirtd.conf.in
$(AM_V_GEN)$(SED) \
-e '/[@]CUT_ENABLE_IP[@]/d' \

View File

@ -93,6 +93,16 @@ if conf.has('WITH_REMOTE')
'-DLIBVIRTD',
],
}
virt_daemons += {
'name': 'virtproxyd',
'c_args': [
'-DSOCK_PREFIX="libvirt"',
'-DDAEMON_NAME="virtproxyd"',
'-DWITH_IP',
'-DVIRTPROXYD',
],
}
endif
endif