mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
meson: src: build libvirt_iohelper 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
67d6f07bd8
commit
cb8b1a2076
@ -35,7 +35,6 @@ conf_DATA =
|
||||
if WITH_DTRACE_PROBES
|
||||
tapset_DATA =
|
||||
endif WITH_DTRACE_PROBES
|
||||
libexec_PROGRAMS =
|
||||
RPC_PROBE_FILES =
|
||||
LOGROTATE_FILES_IN =
|
||||
SYSTEMD_UNIT_FILES =
|
||||
@ -51,7 +50,6 @@ COMMON_UNIT_VARS = \
|
||||
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
|
||||
$(NULL)
|
||||
|
||||
include util/Makefile.inc.am
|
||||
include security/Makefile.inc.am
|
||||
include access/Makefile.inc.am
|
||||
include logging/Makefile.inc.am
|
||||
@ -347,28 +345,6 @@ endif LIBVIRT_INIT_SCRIPT_OPENRC
|
||||
endif WITH_LIBVIRTD
|
||||
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
libexec_PROGRAMS += libvirt_iohelper
|
||||
libvirt_iohelper_SOURCES = $(UTIL_IO_HELPER_SOURCES)
|
||||
libvirt_iohelper_LDFLAGS = \
|
||||
$(AM_LDFLAGS) \
|
||||
$(NULL)
|
||||
libvirt_iohelper_LDADD = \
|
||||
libvirt.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
if WITH_DTRACE_PROBES
|
||||
libvirt_iohelper_LDADD += libvirt_probes.lo
|
||||
endif WITH_DTRACE_PROBES
|
||||
|
||||
libvirt_iohelper_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
|
||||
endif WITH_LIBVIRTD
|
||||
|
||||
|
||||
generated-sources: $(BUILT_SOURCES)
|
||||
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
# vim: filetype=automake
|
||||
|
||||
UTIL_IO_HELPER_SOURCES = util/iohelper.c
|
@ -168,6 +168,10 @@ foreach name : keyname_list
|
||||
)
|
||||
endforeach
|
||||
|
||||
io_helper_sources = [
|
||||
'iohelper.c',
|
||||
]
|
||||
|
||||
virt_util_lib = static_library(
|
||||
'virt_util',
|
||||
[
|
||||
@ -195,4 +199,14 @@ virt_util_lib = static_library(
|
||||
|
||||
libvirt_libs += virt_util_lib
|
||||
|
||||
if conf.has('WITH_LIBVIRTD')
|
||||
virt_helpers += {
|
||||
'name': 'libvirt_iohelper',
|
||||
'sources': [
|
||||
files(io_helper_sources),
|
||||
dtrace_gen_headers,
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
||||
util_inc_dir = include_directories('.')
|
||||
|
Loading…
Reference in New Issue
Block a user