[gtk/gtk-3-24-meson] meson: static immodules: depend on generated headers
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson] meson: static immodules: depend on generated headers
- Date: Sun, 31 Mar 2019 17:45:22 +0000 (UTC)
commit 11a558360df2ff6f26c85b6464c27f405d4c9ec6
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Mar 31 19:40:29 2019 +0200
meson: static immodules: depend on generated headers
gtk/meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 1753bcc043..9dcf309e9d 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -939,6 +939,8 @@ if cc.has_header('langinfo.h')
endforeach
endif
+gtk_dep_sources = [gtkversion, gtktypebuiltins_h]
+
# Static immodules
gtk_included_im_deps = []
foreach l: immodules
@@ -949,7 +951,7 @@ foreach l: immodules
if cond and (builtin_immodules.contains(name) or builtin_all_immodules)
mod = static_library('staticimmodule-@0@'.format(name),
- sources,
+ sources + gtk_dep_sources,
dependencies: gtk_deps + [libgdk_dep] ,
c_args: gtk_cargs + common_cflags + ['-DINCLUDE_IM_@0@'.format(name)] + cflags,
include_directories: [confinc, gdkinc, gtkinc])
@@ -970,7 +972,6 @@ libgtk = shared_library('gtk-3',
darwin_versions : gtk_osxversions,
install: true)
-gtk_dep_sources = [gtkversion, gtktypebuiltins_h]
# Introspection
if build_gir
gir_args = ['--quiet']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]