mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
meson: tools: build libnss_libvirt_guest.so shared_library
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
36780c9319
commit
f1cc0164ba
@ -48,26 +48,3 @@ wireshark/src/libvirt/protocol.h: wireshark/util/genxdrstub.pl \
|
|||||||
$(WS_DISSECTOR_PROTO_FILES)
|
$(WS_DISSECTOR_PROTO_FILES)
|
||||||
|
|
||||||
endif WITH_WIRESHARK_DISSECTOR
|
endif WITH_WIRESHARK_DISSECTOR
|
||||||
|
|
||||||
if WITH_NSS
|
|
||||||
nss_libnss_libvirt_guest_la_SOURCES =
|
|
||||||
nss_libnss_libvirt_guest_la_LDFLAGS = \
|
|
||||||
$(VERSION_SCRIPT_FLAGS)$(LIBVIRT_GUEST_NSS_SYMBOL_FILE) \
|
|
||||||
$(AM_LDFLAGS) \
|
|
||||||
-module \
|
|
||||||
-export-dynamic \
|
|
||||||
-avoid-version \
|
|
||||||
-shared \
|
|
||||||
-shrext .so.$(NSS_SO_VER)
|
|
||||||
|
|
||||||
nss_libnss_libvirt_guest_la_LIBADD = \
|
|
||||||
nss/libnss_libvirt_guest_impl.la
|
|
||||||
|
|
||||||
nss_libnss_libvirt_guest_la_DEPENDENCIES = \
|
|
||||||
$(nss_libnss_libvirt_guest_la_LIBADD) \
|
|
||||||
$(LIBVIRT_GUEST_NSS_SYMBOL_FILE)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
|
||||||
nss/libnss_libvirt_guest.la
|
|
||||||
|
|
||||||
endif WITH_NSS
|
|
||||||
|
@ -54,6 +54,11 @@ nss_libvirt_syms = '@0@@1@'.format(
|
|||||||
meson.current_source_dir() / nss_sym_file,
|
meson.current_source_dir() / nss_sym_file,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
nss_libvirt_guest_syms = '@0@@1@'.format(
|
||||||
|
version_script_flags,
|
||||||
|
meson.current_source_dir() / nss_guest_sym_file,
|
||||||
|
)
|
||||||
|
|
||||||
nss_libvirt_lib = shared_module(
|
nss_libvirt_lib = shared_module(
|
||||||
'nss_libvirt',
|
'nss_libvirt',
|
||||||
name_prefix: nss_prefix,
|
name_prefix: nss_prefix,
|
||||||
@ -68,3 +73,18 @@ nss_libvirt_lib = shared_module(
|
|||||||
install: true,
|
install: true,
|
||||||
install_dir: libdir,
|
install_dir: libdir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
nss_libvirt_guest_lib = shared_library(
|
||||||
|
'nss_libvirt_guest',
|
||||||
|
name_prefix: nss_prefix,
|
||||||
|
name_suffix: 'so.@0@'.format(nss_so_ver),
|
||||||
|
link_args: [
|
||||||
|
nss_libvirt_guest_syms,
|
||||||
|
libvirt_export_dynamic,
|
||||||
|
],
|
||||||
|
link_whole: [
|
||||||
|
nss_libvirt_guest_impl,
|
||||||
|
],
|
||||||
|
install: true,
|
||||||
|
install_dir: libdir,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user