mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
meson: src: build libvirt_driver_network.so shared module
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
b6188d470f
commit
141e017519
@ -10,19 +10,6 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
||||
|
||||
|
||||
if WITH_NETWORK
|
||||
|
||||
noinst_LTLIBRARIES += libvirt_driver_network_impl.la
|
||||
libvirt_driver_network_la_SOURCES =
|
||||
libvirt_driver_network_la_LIBADD = \
|
||||
libvirt_driver_network_impl.la \
|
||||
libvirt.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(LIBNL_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(NULL)
|
||||
mod_LTLIBRARIES += libvirt_driver_network.la
|
||||
libvirt_driver_network_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
|
||||
sbin_PROGRAMS += virtnetworkd
|
||||
|
||||
nodist_conf_DATA += network/virtnetworkd.conf
|
||||
|
@ -19,4 +19,18 @@ if conf.has('WITH_NETWORK')
|
||||
conf_inc_dir,
|
||||
],
|
||||
)
|
||||
|
||||
virt_modules += {
|
||||
'name': 'virt_driver_network',
|
||||
'deps': [
|
||||
dbus_dep,
|
||||
libnl_dep,
|
||||
],
|
||||
'link_whole': [
|
||||
network_driver_impl,
|
||||
],
|
||||
'link_args': [
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user