summary refs log tree commit diff
path: root/introspection
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-04-21 21:09:51 +0200
committerMichael Biebl <biebl@debian.org>2019-04-21 21:09:51 +0200
commit85563b7fc7ec2cd21e38debb9b28db342e2e8e7c (patch)
treecce7b0b02d28fae2df9fdf2c1804cacd1500f2d7 /introspection
parent9a6dcbf895f9da01768e64b73cec88c16157d91e (diff)
New upstream version 1.18.0 upstream/1.18.0
Diffstat (limited to 'introspection')
-rw-r--r--introspection/meson.build11
1 files changed, 9 insertions, 2 deletions
diff --git a/introspection/meson.build b/introspection/meson.build
index e442ac85..631432a7 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -73,13 +73,20 @@ foreach iface: ifaces
 
   sources += res
 
-  content_files += join_paths(meson.current_build_dir(), 'dbus-' + iface_xml)
+  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)
+  endif
+
+  content_files += dbus_iface_xml_path
 
   # res is an array only since 0.46. Documentation won't work with
   # older versions
   if meson.version().version_compare('>= 0.46.0')
-    introspection_files += res[2]
+    introspection_files += [ [res[2], dbus_iface_xml_path] ]
   endif
+
 endforeach
 
 install_data(