[wing] Add gmodule dep



commit 4533986fdd43544c478232f237d43617d6b69872
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Wed Aug 22 12:55:10 2018 +0200

    Add gmodule dep

 meson.build      | 5 +++++
 wing/meson.build | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index b7c8351..c694a43 100644
--- a/meson.build
+++ b/meson.build
@@ -130,6 +130,11 @@ if not gobject.found()
   gobject = subproject('glib').get_variable('libgobject_dep')
 endif
 
+gmodule = dependency('gmodule-2.0', version: '>=' + glib_req, required: false)
+if not gmodule.found()
+  gobject = subproject('glib').get_variable('libgmodule_dep')
+endif
+
 gio = dependency('gio-2.0', version: '>=' + glib_req, required: false)
 if not gio.found()
   gio = subproject('glib').get_variable('libgio_dep')
diff --git a/wing/meson.build b/wing/meson.build
index ec028bb..24209f6 100644
--- a/wing/meson.build
+++ b/wing/meson.build
@@ -28,7 +28,7 @@ sources = [
 
 install_headers(headers, subdir: wing_includedir_real)
 
-platform_deps = [ glib, gobject, gio, gio_windows ]
+platform_deps = [ glib, gobject, gmodule, gio, gio_windows ]
 
 if cc.get_id() == 'msvc'
   wing_link_args = []


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