mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: tools: build virt-login-shell-helper 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
2c1bf41373
commit
20f001b016
@ -41,7 +41,6 @@ endif WITH_SANLOCK
|
|||||||
|
|
||||||
if WITH_LOGIN_SHELL
|
if WITH_LOGIN_SHELL
|
||||||
conf_DATA += virt-login-shell.conf
|
conf_DATA += virt-login-shell.conf
|
||||||
libexec_PROGRAMS = virt-login-shell-helper
|
|
||||||
endif WITH_LOGIN_SHELL
|
endif WITH_LOGIN_SHELL
|
||||||
|
|
||||||
virt-xml-validate: virt-xml-validate.in Makefile
|
virt-xml-validate: virt-xml-validate.in Makefile
|
||||||
@ -61,23 +60,6 @@ virt-sanlock-cleanup: virt-sanlock-cleanup.in Makefile
|
|||||||
|
|
||||||
noinst_LTLIBRARIES =
|
noinst_LTLIBRARIES =
|
||||||
|
|
||||||
virt_login_shell_helper_SOURCES = \
|
|
||||||
virt-login-shell-helper.c
|
|
||||||
|
|
||||||
virt_login_shell_helper_LDFLAGS = \
|
|
||||||
$(AM_LDFLAGS) \
|
|
||||||
$(COVERAGE_LDFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
virt_login_shell_helper_LDADD = \
|
|
||||||
../src/libvirt.la \
|
|
||||||
../src/libvirt-lxc.la \
|
|
||||||
$(GLIB_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
virt_login_shell_helper_CFLAGS = \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
virsh_SOURCES = \
|
virsh_SOURCES = \
|
||||||
virsh.c virsh.h \
|
virsh.c virsh.h \
|
||||||
virsh-backup.c virsh-backup.h \
|
virsh-backup.c virsh-backup.h \
|
||||||
|
@ -94,4 +94,24 @@ if conf.has('WITH_LOGIN_SHELL')
|
|||||||
install: true,
|
install: true,
|
||||||
install_dir: bindir,
|
install_dir: bindir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
executable(
|
||||||
|
'virt-login-shell-helper',
|
||||||
|
[
|
||||||
|
'virt-login-shell-helper.c',
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
tools_dep,
|
||||||
|
],
|
||||||
|
link_args: [
|
||||||
|
coverage_flags,
|
||||||
|
],
|
||||||
|
link_with: [
|
||||||
|
libvirt_lib,
|
||||||
|
libvirt_lxc_lib,
|
||||||
|
],
|
||||||
|
install: true,
|
||||||
|
install_dir: libexecdir,
|
||||||
|
install_rpath: libdir,
|
||||||
|
)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user