summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrook Milligan <brook@nmsu.edu>2019-07-27 12:29:29 -0600
committerBrook Milligan <brook@nmsu.edu>2019-07-27 12:29:29 -0600
commit3bdb82991f2767a2d43a8ee15251e48e46e82c3c (patch)
treec9f2d15d700f8e85e69aa8ac55ae3996d7a8dc86
parent2b0409206b6489431dea978076a310d7ad388d2d (diff)
downloadgobject-introspection-3bdb82991f2767a2d43a8ee15251e48e46e82c3c.tar.gz
Get the type of dependency from the right object.
Closes: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/300.
-rw-r--r--gir/meson.build1
1 files changed, 1 insertions, 0 deletions
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')