diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2019-08-28 11:54:11 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-10-01 09:49:33 +0200 |
commit | 82e79e40a5ca05b5fa9a40cfb55c9c775ac8c849 (patch) | |
tree | a9ce3e6dbd23f8e071b9d0d36a71b670c2a77a52 /introspection | |
parent | 48bb5b68e3d7dd44d9130e059ef99c14fb5ca457 (diff) | |
download | NetworkManager-82e79e40a5ca05b5fa9a40cfb55c9c775ac8c849.tar.gz |
meson: Avoid the use of source_root and build_root methods
The way some directory paths are defined has also been changed to
avoid the use of the `source_root` and `build_root` functions
because they are discouraged[0]
[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/introspection/meson.build b/introspection/meson.build index 631432a7a2..03cfa46243 100644 --- a/introspection/meson.build +++ b/introspection/meson.build @@ -76,7 +76,7 @@ foreach iface: ifaces if gio_unix_dep.version().version_compare('>= 2.51.3') dbus_iface_xml_path = join_paths(meson.current_build_dir(), 'dbus-' + iface_xml) else - dbus_iface_xml_path = join_paths(meson.build_root(), 'dbus-' + iface_xml) + dbus_iface_xml_path = join_paths(build_root, 'dbus-' + iface_xml) endif content_files += dbus_iface_xml_path |