aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/modules/gnome.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index a4663a3..be3c3ac 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]