mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: tools: build libnss_libvirt_impl.a static 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
933332ecd4
commit
6d6e271721
@ -53,29 +53,7 @@ wireshark/src/libvirt/protocol.h: wireshark/util/genxdrstub.pl \
|
|||||||
|
|
||||||
endif WITH_WIRESHARK_DISSECTOR
|
endif WITH_WIRESHARK_DISSECTOR
|
||||||
|
|
||||||
LIBVIRT_NSS_SOURCES = \
|
|
||||||
nss/libvirt_nss.c \
|
|
||||||
nss/libvirt_nss.h \
|
|
||||||
nss/libvirt_nss_leases.c \
|
|
||||||
nss/libvirt_nss_leases.h \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
if WITH_NSS
|
if WITH_NSS
|
||||||
noinst_LTLIBRARIES += nss/libnss_libvirt_impl.la
|
|
||||||
nss_libnss_libvirt_impl_la_SOURCES = \
|
|
||||||
$(LIBVIRT_NSS_SOURCES)
|
|
||||||
|
|
||||||
nss_libnss_libvirt_impl_la_CPPFLAGS = $(STANDALONE_CPPFLAGS)
|
|
||||||
nss_libnss_libvirt_impl_la_CFLAGS = \
|
|
||||||
-DLIBVIRT_NSS \
|
|
||||||
$(YAJL_CFLAGS) \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
nss_libnss_libvirt_impl_la_LIBADD = \
|
|
||||||
$(YAJL_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
nss_libnss_libvirt_la_SOURCES =
|
nss_libnss_libvirt_la_SOURCES =
|
||||||
nss_libnss_libvirt_la_LDFLAGS = \
|
nss_libnss_libvirt_la_LDFLAGS = \
|
||||||
$(VERSION_SCRIPT_FLAGS)$(LIBVIRT_NSS_SYMBOL_FILE) \
|
$(VERSION_SCRIPT_FLAGS)$(LIBVIRT_NSS_SYMBOL_FILE) \
|
||||||
|
@ -9,3 +9,22 @@ else
|
|||||||
nss_so_ver = '2'
|
nss_so_ver = '2'
|
||||||
nss_prefix = 'lib'
|
nss_prefix = 'lib'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
nss_sources = [
|
||||||
|
'libvirt_nss.c',
|
||||||
|
'libvirt_nss_leases.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
nss_libvirt_impl = static_library(
|
||||||
|
'nss_libvirt_impl',
|
||||||
|
[
|
||||||
|
nss_sources,
|
||||||
|
],
|
||||||
|
c_args: [
|
||||||
|
'-DLIBVIRT_NSS'
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
tools_dep,
|
||||||
|
yajl_dep,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user