Merge pull request #629 from wtay/master

gnome.py: typelib files should be installed in libdir
This commit is contained in:
Igor Gnatenko 2016-08-14 20:07:43 +02:00 committed by GitHub
commit bde123d70c
1 changed files with 1 additions and 3 deletions

View File

@ -228,9 +228,7 @@ class GnomeModule:
kwargs['output'] = typelib_output
kwargs['command'] = typelib_cmd
# Note that this can't be libdir, because e.g. on Debian it points to
# lib/x86_64-linux-gnu but the girepo dir is always under lib.
kwargs['install_dir'] = 'lib/girepository-1.0'
kwargs['install_dir'] = os.path.join(state.environment.get_libdir(), 'girepository-1.0')
typelib_target = TypelibTarget(typelib_output, state.subdir, kwargs)
return [scan_target, typelib_target]