[libgweather/pgriffis/libsoup-ci: 2/3] build: Fix linking failure of tests
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/pgriffis/libsoup-ci: 2/3] build: Fix linking failure of tests
- Date: Tue, 21 Sep 2021 16:21:33 +0000 (UTC)
commit 01719dbc9d56d3e70d6997ea729673b5cdced140
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 d3dc3954..e3be9bd2 100644
--- a/meson.build
+++ b/meson.build
@@ -56,11 +56,12 @@ endif
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_name, 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]