diff options
author | Patrick Griffis <tingping@tingping.se> | 2017-10-26 09:22:08 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-03-10 19:05:19 +0530 |
commit | f206861d9dccc6fe98e3e672dce56b571012d4e6 (patch) | |
tree | 4dc750391aa09751d960222f5b46dd2cb48902ab | |
parent | 083e6affcf2cb38ca801ee796c9bfaf44dfdeb4d (diff) | |
download | gobject-introspection-f206861d9dccc6fe98e3e672dce56b571012d4e6.tar.gz |
Fix dependency on giscanner's python module
-rw-r--r-- | gir/meson.build | 9 | ||||
-rw-r--r-- | giscanner/meson.build | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gir/meson.build b/gir/meson.build index 986d8cbf..4086bffe 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 3b486853..963fad59 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, |