diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-23 21:16:05 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-23 21:16:05 +0200 |
commit | 558f930d8111a2fd93dbf11777ced60f34343e3e (patch) | |
tree | 956cf013fffc44aff39cb77f2035a86e900f3068 | |
parent | cf3995d71760014cdb299f8a90d4c508b7f54dcc (diff) | |
download | meson-558f930d8111a2fd93dbf11777ced60f34343e3e.zip meson-558f930d8111a2fd93dbf11777ced60f34343e3e.tar.gz meson-558f930d8111a2fd93dbf11777ced60f34343e3e.tar.bz2 |
Always use lib/girepository-1.0 as gir typelib install dir.
-rw-r--r-- | modules/gnome.py | 4 |
1 files changed, 3 insertions, 1 deletions
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] |