[gobject-introspection/wip/tingping/meson: 4/4] Fix dependency on giscanner's python module
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/tingping/meson: 4/4] Fix dependency on giscanner's python module
- Date: Thu, 26 Oct 2017 13:23:31 +0000 (UTC)
commit d52497f022dfaa974c3b9452776dd8829aa315b5
Author: Patrick Griffis <tingping tingping se>
Date: Thu Oct 26 09:22:08 2017 -0400
Fix dependency on giscanner's python module
gir/meson.build | 9 +++++----
giscanner/meson.build | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gir/meson.build b/gir/meson.build
index 986d8cb..4086bff 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -76,6 +76,7 @@ glib_sources_file = custom_target('glib-sources-file',
glib_gir = custom_target('gir-glib',
input: glib_sources_file,
output: 'GLib-2.0.gir',
+ depends: giscanner_pymod,
install: true,
install_dir: girdir,
command: scanner_command + [
@@ -122,7 +123,7 @@ gobject_sources_file = custom_target('gobject-sources-file',
gobject_gir = custom_target('gir-gobject',
input: gobject_sources_file,
output: 'GObject-2.0.gir',
- depends: glib_gir,
+ depends: [glib_gir, giscanner_pymod],
install: true,
install_dir: girdir,
command: scanner_command + [
@@ -149,7 +150,7 @@ gir_files += gobject_gir
gir_files += custom_target('gir-gmodule',
input: 'gmodule-2.0.c', # TODO: glib sources
output: 'GModule-2.0.gir',
- depends: glib_gir,
+ depends: [glib_gir, giscanner_pymod],
install: true,
install_dir: girdir,
command: scanner_command + [
@@ -231,7 +232,7 @@ gio_sources_file = custom_target('gio-sources-file',
gir_files += custom_target('gir-gio',
input: gio_sources_file,
output: 'Gio-2.0.gir',
- depends: gobject_gir,
+ depends: [gobject_gir, giscanner_pymod],
install: true,
install_dir: girdir,
command: gio_command,
@@ -241,7 +242,7 @@ gir_files += custom_target('gir-gio',
gir_files += custom_target('gir-girepository',
input: girepo_gir_sources,
output: 'GIRepository-2.0.gir',
- depends: gobject_gir,
+ depends: [gobject_gir, giscanner_pymod],
install: true,
install_dir: girdir,
command: scanner_command + [
diff --git a/giscanner/meson.build b/giscanner/meson.build
index 3b48685..963fad5 100644
--- a/giscanner/meson.build
+++ b/giscanner/meson.build
@@ -69,7 +69,7 @@ giscanner_lib = static_library('giscanner',
)
# TODO: -export-symbols-regex "init_giscanner|PyInit__giscanner"
-py3.extension_module('_giscanner', 'giscannermodule.c',
+giscanner_pymod = py3.extension_module('_giscanner', 'giscannermodule.c',
link_with: giscanner_lib,
dependencies: [
gobject_dep,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]