build/introspection: cleanup dependencies for libnmdbus in meson

This commit is contained in:
Thomas Haller
2021-02-24 10:54:55 +01:00
parent 6a54c3ff29
commit 8bfe1ebcec
2 changed files with 4 additions and 5 deletions

View File

@@ -57,8 +57,6 @@ sources = []
introspection_files = []
headers = []
# FIXME?: DBUS_INTERFACE_DOCS/docbook files are generated in
# "meson.current_build_dir()" instead of "meson.source_root()/docs/api"
foreach iface: ifaces
iface_xml = iface + '.xml'
ifaces_xmls += files(iface_xml)
@@ -99,12 +97,12 @@ libnmdbus = static_library(
'nmdbus',
sources: sources,
include_directories: top_inc,
dependencies: glib_dep,
c_args: introspection_extra_cflags,
dependencies: glib_dep,
)
libnmdbus_dep = declare_dependency(
sources: headers,
include_directories: include_directories('.'),
link_with: libnmdbus,
include_directories: top_inc,
dependencies: glib_dep,
)

View File

@@ -22,6 +22,7 @@ foreach test_unit: test_units
libnm_client_impl,
libnm_client_test,
libnm_base,
libnmdbus,
],
)