From 3bdb82991f2767a2d43a8ee15251e48e46e82c3c Mon Sep 17 00:00:00 2001 From: Brook Milligan Date: Sat, 27 Jul 2019 12:29:29 -0600 Subject: Get the type of dependency from the right object. Closes: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/300. --- gir/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/gir/meson.build b/gir/meson.build index 99586622..c312100c 100644 --- a/gir/meson.build +++ b/gir/meson.build @@ -342,6 +342,7 @@ foreach h : gio_headers endforeach if giounix_dep.found() + dep_type = giounix_dep.type_name() if dep_type == 'pkgconfig' gio_command += ['--pkg=gio-unix-2.0'] giounix_includedir = join_paths(giounix_dep.get_pkgconfig_variable('includedir'), 'gio-unix-2.0') -- cgit v1.2.1