aboutsummaryrefslogtreecommitdiff
path: root/modules/gnome.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gnome.py')
-rw-r--r--modules/gnome.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gnome.py b/modules/gnome.py
index ef5f6b8..53e26ee 100644
--- a/modules/gnome.py
+++ b/modules/gnome.py
@@ -63,6 +63,9 @@ class GnomeModule:
scankwargs = {'output' : girfile,
'input' : libsources,
'command' : scan_command}
+ if kwargs.get('install'):
+ scankwargs['install'] = kwargs['install']
+ scankwargs['install_dir'] = os.path.join(state.environment.get_datadir(), 'gir-1.0')
scan_target = build.CustomTarget(scan_name, state.subdir, scankwargs)
typelib_name = girtarget.name + '-typelib'