[glib/wip/3v1n0/support-can-fail-tests: 4/5] gmodule, gobject: Add gvisbility.h to the libgmodule dependency
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/3v1n0/support-can-fail-tests: 4/5] gmodule, gobject: Add gvisbility.h to the libgmodule dependency
- Date: Wed, 19 Oct 2022 22:58:04 +0000 (UTC)
commit f71dbe05ff896a1889115b91b518ab3f46f543f3
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Thu Oct 20 00:27:53 2022 +0200
gmodule, gobject: Add gvisbility.h to the libgmodule dependency
We may instead try to compile files that requires it without having
been generated yet.
See: https://gitlab.gnome.org/GNOME/glib/-/jobs/2344802
See: https://gitlab.gnome.org/GNOME/glib/-/jobs/2345205
gmodule/meson.build | 1 +
gobject/meson.build | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/gmodule/meson.build b/gmodule/meson.build
index 54b25a0c55..91fb236c38 100644
--- a/gmodule/meson.build
+++ b/gmodule/meson.build
@@ -131,6 +131,7 @@ pkg.generate(libraries : [libgmodule, export_dynamic_ldflags],
libgmodule_dep = declare_dependency(link_with : libgmodule,
include_directories : [gmoduleinc],
+ sources : [gvisibility_h],
dependencies : [libglib_dep])
meson.override_dependency('gmodule-no-export-2.0', libgmodule_dep)
diff --git a/gobject/meson.build b/gobject/meson.build
index 09c07f3064..bf15ad8469 100644
--- a/gobject/meson.build
+++ b/gobject/meson.build
@@ -159,6 +159,7 @@ pkg.generate(libgobject,
libgobject_dep = declare_dependency(link_with : libgobject,
include_directories : [gobjectinc],
+ sources : gobject_install_headers,
dependencies : [libglib_dep, glib_enumtypes_dep])
meson.override_dependency('gobject-2.0', libgobject_dep)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]