[gobject-introspection] Get the type of dependency from the right object. Closes: https://gitlab.gnome.org/GNOME/gobject-int



commit 3bdb82991f2767a2d43a8ee15251e48e46e82c3c
Author: Brook Milligan <brook nmsu edu>
Date:   Sat Jul 27 12:29:29 2019 -0600

    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')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]