aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-06-08 13:10:23 +0200
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-06-08 13:10:23 +0200
commita0558084359275df16a5d37c089dd5256932daa0 (patch)
tree4d39b81c9cd47a051c92306508b919ffd9daf3d5 /modules
parent414c5f8c497bacaf2d70ec1b992c7e828b775eaf (diff)
downloadmeson-a0558084359275df16a5d37c089dd5256932daa0.zip
meson-a0558084359275df16a5d37c089dd5256932daa0.tar.gz
meson-a0558084359275df16a5d37c089dd5256932daa0.tar.bz2
gnome: Building the gir depends on the dynamic library.
Diffstat (limited to 'modules')
-rw-r--r--modules/gnome.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gnome.py b/modules/gnome.py
index 51bd941..bcbbeb6 100644
--- a/modules/gnome.py
+++ b/modules/gnome.py
@@ -123,7 +123,9 @@ class GnomeModule:
scan_command += ['--library', libname]
scankwargs = {'output' : girfile,
'input' : libsources,
- 'command' : scan_command}
+ 'command' : scan_command,
+ 'depends' : girtarget,
+ }
if kwargs.get('install'):
scankwargs['install'] = kwargs['install']
scankwargs['install_dir'] = os.path.join(state.environment.get_datadir(), 'gir-1.0')