[libgweather/pgriffis/gmodule-dep: 2/2] build: Fix linking failure of tests
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/pgriffis/gmodule-dep: 2/2] build: Fix linking failure of tests
- Date: Mon, 13 Sep 2021 16:29:20 +0000 (UTC)
commit 53b1b861b9d11df652b77f30ae8babe359b8e241
Author: Patrick Griffis <pgriffis igalia com>
Date: Mon Sep 13 10:03:18 2021 -0500
build: Fix linking failure of tests
All of the test executables failed to build because of linking
failures missing gmodule symbols. This resolved that.
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 87f9a7d8..9dfee8b3 100644
--- a/meson.build
+++ b/meson.build
@@ -49,11 +49,12 @@ libxml_req_version = '>= 2.6.0'
c_compiler = meson.get_compiler('c')
gtk_dep = dependency('gtk+-3.0', version: gtk_req_version)
glib_dep = dependency('gio-2.0', version: glib_req_version)
+gmodule_dep = dependency('gmodule-2.0', version: glib_req_version)
libsoup_dep = dependency('libsoup-2.4', version: libsoup_req_version)
libxml_dep = dependency('libxml-2.0', version: libxml_req_version)
geocode_glib_dep = dependency('geocode-glib-1.0')
math_dep = c_compiler.find_library('m', required : false)
-deps_libgweather = [math_dep, gtk_dep, glib_dep, libsoup_dep, libxml_dep, geocode_glib_dep]
+deps_libgweather = [math_dep, gtk_dep, glib_dep, gmodule_dep, libsoup_dep, libxml_dep, geocode_glib_dep]
pylint = find_program('pylint-3', 'pylint3', 'pylint', required: false)
pylint_flags = ['-d', 'C0111', '-d', 'W0511', '-d', 'F0401', '-d', 'C0326' ]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]