aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpakkane <jpakkane@gmail.com>2015-06-08 22:32:42 +0300
committerjpakkane <jpakkane@gmail.com>2015-06-08 22:32:42 +0300
commitaf26390a9158dba09d9d0f3c0834d7355bce05af (patch)
tree7b416dd56e27ef4d2168fc3aaa36f460d6d6b697
parent5cf78665d3fe9274ca6c128a8cf4a93dc707ee8f (diff)
parenta0558084359275df16a5d37c089dd5256932daa0 (diff)
downloadmeson-af26390a9158dba09d9d0f3c0834d7355bce05af.zip
meson-af26390a9158dba09d9d0f3c0834d7355bce05af.tar.gz
meson-af26390a9158dba09d9d0f3c0834d7355bce05af.tar.bz2
Merge pull request #142 from MathieuDuponchelle/fix_library_introspection
gnome: Building the gir depends on the dynamic library.
-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')