mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
meson: src: build libvirt_storage_driver.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
0cc73eba39
commit
06b38f49f7
@ -25,7 +25,6 @@ nodist_conf_DATA =
|
||||
DRIVER_SOURCE_FILES =
|
||||
STATEFUL_DRIVER_SOURCE_FILES =
|
||||
noinst_LTLIBRARIES =
|
||||
mod_LTLIBRARIES =
|
||||
INSTALL_DATA_DIRS =
|
||||
INSTALL_DATA_LOCAL =
|
||||
UNINSTALL_LOCAL =
|
||||
|
@ -86,15 +86,6 @@ storagefiledir = $(libdir)/libvirt/storage-file
|
||||
storagefile_LTLIBRARIES =
|
||||
|
||||
if WITH_STORAGE
|
||||
libvirt_driver_storage_la_SOURCES =
|
||||
libvirt_driver_storage_la_LIBADD = \
|
||||
libvirt_driver_storage_impl.la \
|
||||
libvirt.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
mod_LTLIBRARIES += libvirt_driver_storage.la
|
||||
libvirt_driver_storage_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
|
||||
sbin_PROGRAMS += virtstoraged
|
||||
|
||||
nodist_conf_DATA += storage/virtstoraged.conf
|
||||
|
@ -24,4 +24,14 @@ if conf.has('WITH_STORAGE')
|
||||
conf_inc_dir,
|
||||
],
|
||||
)
|
||||
|
||||
virt_modules += {
|
||||
'name': 'virt_driver_storage',
|
||||
'link_whole': [
|
||||
storage_driver_impl_lib,
|
||||
],
|
||||
'link_args': [
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user