build/introspection: cleanup dependencies for libnmdbus in meson
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
@@ -22,6 +22,7 @@ foreach test_unit: test_units
|
||||
libnm_client_impl,
|
||||
libnm_client_test,
|
||||
libnm_base,
|
||||
libnmdbus,
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user