From a0558084359275df16a5d37c089dd5256932daa0 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Mon, 8 Jun 2015 13:10:23 +0200 Subject: [PATCH] gnome: Building the gir depends on the dynamic library. --- modules/gnome.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gnome.py b/modules/gnome.py index 51bd94177..bcbbeb6b4 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')