diff options
author | Wim Taymans <wtaymans@redhat.com> | 2016-07-04 12:29:56 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2016-07-04 12:29:56 +0200 |
commit | 660c872422be4ed7fb4499d1263793fb0e976141 (patch) | |
tree | bfeb24b2707284a8e6a8c572d9b109f53f3715c9 /mesonbuild/modules/gnome.py | |
parent | d6ab5027feac5e3c784e9a6577cbe790c9082643 (diff) | |
download | meson-660c872422be4ed7fb4499d1263793fb0e976141.zip meson-660c872422be4ed7fb4499d1263793fb0e976141.tar.gz meson-660c872422be4ed7fb4499d1263793fb0e976141.tar.bz2 |
gnome.py: typelib files should be installed in libdir
The typelib files should be installed in libdir, even on debian (which
has them in /usr/lib/x86_64-linux-gnu/girepository-1.0/).
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 2c37655..037b1f5 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -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] |