From 558f930d8111a2fd93dbf11777ced60f34343e3e Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 23 Mar 2015 21:16:05 +0200 Subject: Always use lib/girepository-1.0 as gir typelib install dir. --- modules/gnome.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gnome.py b/modules/gnome.py index 80ee5fb..565f971 100644 --- a/modules/gnome.py +++ b/modules/gnome.py @@ -73,7 +73,9 @@ class GnomeModule: typelib_cmd = ['g-ir-compiler', scan_target, '--output', '@OUTPUT@'] kwargs['output'] = typelib_output kwargs['command'] = typelib_cmd - kwargs['install_dir'] = os.path.join(state.environment.get_libdir(), 'girepository-1.0') + # 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' typelib_target = TypelibTarget(typelib_name, state.subdir, kwargs) return [scan_target, typelib_target] -- cgit v1.1